Skip to content

Instantly share code, notes, and snippets.

@ResidentMario
Created December 24, 2018 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ResidentMario/b2120d45302832f208cbb12f223b72b8 to your computer and use it in GitHub Desktop.
Save ResidentMario/b2120d45302832f208cbb12f223b72b8 to your computer and use it in GitHub Desktop.
FROM python:3.6
# set the working directory
RUN ["mkdir", "app"]
WORKDIR "app"
# install code dependencies
COPY "requirements.txt" .
RUN ["pip", "install", "-r", "requirements.txt"]
# install environment dependencies
COPY "build.ipynb" .
COPY "catalog-screencap.png" .
# provision environment
EXPOSE 8080
ENTRYPOINT ["jupyter", "notebook", "--ip", "0.0.0.0", "--port", "8080", "--allow-root", "--NotebookApp.token=''", "--NotebookApp.password=''"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment