Skip to content

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
erexer committed Sep 18, 2024
1 parent 419b968 commit e9e695a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e9e695a

Please sign in to comment.