HansBug commited on
Commit
a7b3ff0
·
verified ·
1 Parent(s): 961fa8c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -7,10 +7,15 @@ RUN useradd -m -u 1000 user
7
  USER user
8
 
9
  # Set home to the user's home directory
10
- ENV HOME=/home/user \
11
- PATH=/home/user/.local/bin:$PATH
 
12
 
13
  # Set the working directory to the user's home directory
14
  WORKDIR $HOME
15
 
16
- CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--no-browser", "--notebook-dir=/home/user"]
 
 
 
 
 
7
  USER user
8
 
9
  # Set home to the user's home directory
10
+ ENV HOME=/home/user
11
+ ENV PATH=$HOME/.local/bin:$PATH
12
+ ENV SHELL=/bin/bash
13
 
14
  # Set the working directory to the user's home directory
15
  WORKDIR $HOME
16
 
17
+ COPY --chown=user . $HOME/app
18
+
19
+ EXPOSE 7860
20
+ ENTRYPOINT []
21
+ CMD ["/bin/bash", "./app/run.sh"]