SysML-v2-Jupyter / Dockerfile
HansBug's picture
Update Dockerfile
0377b66 verified
raw
history blame contribute delete
497 Bytes
FROM hansbug/sysml-v2-jupyter
# Set up a new user named "user" with user ID 1000
RUN useradd -m -u 1000 user && adduser user sudo && adduser user anaconda
# Switch to the "user" user
USER user
RUN conda -V
# Set home to the user's home directory
ENV HOME=/home/user
ENV PATH=$HOME/.local/bin:$PATH
ENV SHELL=/bin/bash
# Set the working directory to the user's home directory
WORKDIR $HOME
COPY --chown=user . $HOME/app
EXPOSE 7860
ENTRYPOINT []
CMD ["/bin/bash", "./app/run.sh"]