Skip to content
Snippets Groups Projects
Commit f74d869a authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

add example for requirements.txt

parent ce786d7c
Branches
No related tags found
No related merge requests found
......@@ -2,6 +2,10 @@
ARG BASE_IMAGE=registry.git-ce.rwth-aachen.de/jupyter/singleuser/python:latest
FROM ${BASE_IMAGE}
# Install packages via requirements.txt
ADD /tmp/requirement.txt .
RUN pip3 install -r /tmp/requirements.txt
# Update conda base environment to match specifications in environment.yml
ADD environment.yml /tmp/environment.yml
USER root
......@@ -13,6 +17,3 @@ RUN conda env update -f /tmp/environment.yml && \
conda clean -a -f -y
ENV JUPYTER_ENABLE_LAB=yes
# Copy workspace
COPY ./ /home/jovyan
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment