File size: 497 Bytes
aac2e5e
 
 
0377b66
5a5d9bd
aac2e5e
 
 
5a5d9bd
 
aac2e5e
a7b3ff0
 
 
aac2e5e
 
 
 
a7b3ff0
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"]