Spaces:
Sleeping
Sleeping
| 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"] | |