Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gabora authored Mar 18, 2024
1 parent f394200 commit f734acd
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Use a standard Python image as the base
FROM python:3.12.2-slim
FROM continuumio/miniconda3

# Install git
RUN apt-get update && \
apt-get install -y git && \
rm -rf /var/lib/apt/lists/*
COPY environment.yml .
RUN apt-get update -qq && apt-get install -y \
build-essential

# Now, git is available, so we can install packages directly from Git repositories
RUN pip install omnipath==1.0.7 pandas==2.0.3
RUN pip install --upgrade git+https://github.com/saezlab/decoupler-py
RUN conda env create -f environment.yml
ENV PATH="/opt/conda/envs/backsub/bin:$PATH"

# Assuming decoupler and other packages are now installed, continue with your setup...
RUN pip install --upgrade git+https://github.com/saezlab/decoupler-py

0 comments on commit f734acd

Please sign in to comment.