From e9e695ab783b59c1826355b0ee14358bfa50b9c3 Mon Sep 17 00:00:00 2001 From: erexer <13180883+erexer@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:35:03 -0700 Subject: [PATCH] add Dockerfile --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f71c4f4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +# Stage 1: Build Stage +FROM jupyter/minimal-notebook:python-3.10 as builder + +USER root + +RUN apt-get update + +# Install tell +RUN pip install --upgrade pip +RUN pip install tell + +# Stage 2: Final Stage +FROM jupyter/minimal-notebook:python-3.10 + +USER root + +# Copy python packages installed/built from the builder stage +COPY --from=builder /opt/conda/lib/python3.10/site-packages /opt/conda/lib/python3.10/site-packages + +# To test this container locally, run: +# docker build -t tell . +# docker run --rm -p 8888:8888 tell \ No newline at end of file