Skip to content
Snippets Groups Projects
Commit 372e26f4 authored by Julian Rasch's avatar Julian Rasch
Browse files

Update Dockerfile to correctly install requirements in dev

parent 8a55bbd4
No related branches found
No related tags found
1 merge request!6Finalized Jupyterlab for the sprint
Pipeline #181549 failed
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
FROM jupyter/datascience-notebook:hub-3.1.1 FROM jupyter/scipy-notebook:hub-1.5.0
# Install from APT repository # Install from APT repository
USER root USER root
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install -y git RUN apt-get install -y git libpq-dev gcc
# Set working directory
WORKDIR /usr/src/app
# Install basics # Install basics
USER jovyan USER jovyan
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
COPY .env .env
# RUN pip3 install --upgrade pip # Install python packages
RUN pip install jupyter-server-proxy==4.0.0 COPY requirements.txt requirements.txt
RUN pip install jupyterlab-git==0.42.0 RUN pip install --no-cache-dir -r requirements.txt
RUN pip install jupyterlab-gitlab==3.0.0 ENV IPYTHONDIR /usr/src/app/ipython/
WORKDIR /usr/src/app/ipython/profile_default/startup/
COPY python_startup/ ./
WORKDIR /home/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment