api1 / Dockerfile
srmbuti's picture
Update Dockerfile
349ceb9 verified
raw
history blame
527 Bytes
# Use a base image with Python and Jupyter Notebook installed
FROM jupyter/scipy-notebook:latest
# Set the working directory in the container
WORKDIR /home/jovyan/work
# Expose the port the notebook runs on
EXPOSE 7860
# Copy the current directory contents into the container at /home/jovyan/work
COPY . /home/jovyan/work
# Run Jupyter Notebook upon container startup with token authentication enabled
CMD ["jupyter", "notebook", "--ip='*'", "--port=7860", "--no-browser", "--allow-root", "--NotebookApp.token='amma1000'"]