| 12345678910111213141516171819202122 |
- FROM mechatronics3d/jjmodelica
- USER root
- # Copy local files to the remote notebooks
- RUN mkdir /opt/notebooks
- COPY 4-Modelica /opt/notebooks/4-Modelica
- WORKDIR /opt/notebooks/
- # Port
- EXPOSE 8888
- # Run Jupyter Notebook
- CMD ["jupyter", "notebook", "--notebook-dir=/opt/notebooks", "--ip=0.0.0.0", "--port=8888", "--no-browser"]
- # Uncomment to access command line on the docker container
- # CMD ["bash"]
- # to start jupyter run:
- # jupyter notebook --notebook-dir=/opt/notebooks --ip=0.0.0.0 --port=8888 --no-browser --allow-root
|