Skip to content

Commit f734acd

Browse files
authored
Update Dockerfile
1 parent f394200 commit f734acd

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

Dockerfile

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# Use a standard Python image as the base
2-
FROM python:3.12.2-slim
1+
FROM continuumio/miniconda3
32

4-
# Install git
5-
RUN apt-get update && \
6-
apt-get install -y git && \
7-
rm -rf /var/lib/apt/lists/*
3+
COPY environment.yml .
4+
RUN apt-get update -qq && apt-get install -y \
5+
build-essential
86

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

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

0 commit comments

Comments
 (0)