-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|