-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |