diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fd62b3c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +# Stage 1: Build Stage +FROM ghcr.io/msd-live/jupyter/python-notebook:latest as builder + +USER root + +RUN apt-get update + +# Install cerf +RUN pip install --upgrade pip +RUN pip install cerf + +# Stage 2: Final Stage +FROM ghcr.io/msd-live/jupyter/python-notebook:latest + +USER root + +RUN apt-get update + +# Copy python packages installed/built from the builder stage +COPY --from=builder /opt/conda/lib/python3.11/site-packages /opt/conda/lib/python3.11/site-packages + +# To test this container locally, run: +# docker build -t im3sfa/cerf-msdlive . +# docker run --rm -p 8888:8888 im3sfa/cerf-msdlive \ No newline at end of file