Update Dockerfile

Make sure git is installed
This commit is contained in:
Matthew Connelly 2022-10-24 13:57:11 +01:00 committed by GitHub
parent e877dc313c
commit 1fc80fe1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 6 deletions

View File

@ -7,16 +7,22 @@ RUN apt update && \
RUN . /v/bin/activate && \
pip install \
--no-cache-dir \
-U \
jupyterlab \
notebook \
voila \
nodeenv && \
--no-cache-dir \
-U \
jupyterlab \
notebook \
voila \
jupyterlab-git \
nodeenv && \
nodeenv -p
FROM python:slim as run
RUN apt update && \
apt upgrade -y && \
apt install -no-install-recommends -y \
git
COPY --from=build /v /v
RUN mkdir /data /root/.jupyter