From f734acdee20d592c6dc03496035753e6f560691c Mon Sep 17 00:00:00 2001 From: Attila Gabor Date: Mon, 18 Mar 2024 14:59:29 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77c38a1..bd8e487 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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