SysML-v2-Jupyter / Dockerfile
HansBug's picture
Create Dockerfile
aac2e5e verified
raw
history blame
417 Bytes
FROM hansbug/sysml-v2-jupyter
# Set up a new user named "user" with user ID 1000
RUN useradd -m -u 1000 user
# Switch to the "user" user
USER user
# Set home to the user's home directory
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
# Set the working directory to the user's home directory
WORKDIR $HOME
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--notebook-dir=/home/user"]