Commit 362dfb5b authored by Eszter Schoell's avatar Eszter Schoell
Browse files

init dockerfile commit

parents
Loading
Loading
Loading
Loading

Dockerfile

0 → 100644
+31 −0
Changes for Dockerfile: 31 added lines, 0 removed lines.
Original line number Diff line number Diff line
FROM jupyter/<notebook>:<version hash>

# launchbot-specific labels
LABEL name.launchbot.io="Cleaning data at scale"
LABEL workdir.launchbot.io="/home/jovyan"
LABEL description.launchbot.io="Cleaning data at scale"
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