Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 680 Bytes
FROM microsoft/cntk:2.3-cpu-python3.5
# Assuming that everything is loaded from the /notebooks folder.
# You can mount this volume with a folder on your own computer for easier access.
VOLUME "/notebooks"
WORKDIR /notebooks
# In case you want to use Keras, you need to set its backend to CNTK.
# Otherwise it will try to use tensorflow which we don't have obviously.
ENV KERAS_BACKEND=cntk
# This command starts the python notebook server.
# WARNING: This runs under the root user, so don't expose this to the internet... ever!
CMD ["/bin/bash","-c","source /cntk/activate-cntk && jupyter-notebook --no-browser --port=8080 --ip=0.0.0.0 --notebook-dir=/notebooks --allow-root"]