Commit 7e3000ad by Patrick Kennedy

Initial commit with Dockerfile and README

parents
# The base image to build the Docker container from
FROM jupyter/datascience-notebook:177037d09156
# launchbot-specific labels
LABEL name.launchbot.io="Deploy ML to Production Toolkit"
LABEL workdir.launchbot.io="/home/jovyan"
LABEL description.launchbot.io="Deploy ML to Production Toolkit"
LABEL 8888.port.launchbot.io="Start Tutorial"
#Set the working directory
WORKDIR /home/jovyan/
# Modules
COPY requirements.txt /home/jovyan/requirements.txt
RUN pip install -r /home/jovyan/requirements.txt
# Add files
COPY notebooks /home/jovyan/notebooks
COPY data /home/jovyan/data
COPY solutions /home/jovyan/solutions
# Allow user to write to directory
USER root
RUN chown -R $NB_USER /home/jovyan \
&& chmod -R 774 /home/jovyan
USER $NB_USER
# Expose the notebook port
EXPOSE 8888
# Start the notebook server
CMD jupyter notebook --no-browser --port 8888 --ip=* --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True --NotebookApp.iopub_data_rate_limit=1.0e10
# Deploy ML to Production Toolkit
This repository is home to the code that accompanies Armen Donigian's Live Trainings within O'Reilly Safari.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment