sofianhw commited on
Commit
965f867
1 Parent(s): a67efc3

change user

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -32,12 +32,14 @@ ENV HOME=/home/user \
32
  PATH=/home/user/.local/bin:$PATH
33
 
34
  # Set the working directory to the user's home directory
35
- COPY entrypoint.sh .
36
-
37
  WORKDIR $HOME/app
38
 
39
  COPY --chown=user . $HOME/app
40
 
 
 
 
 
41
  RUN chmod +x $HOME/app/entrypoint.sh
42
 
43
  ENTRYPOINT ["/home/app/entrypoint.sh"]
 
32
  PATH=/home/user/.local/bin:$PATH
33
 
34
  # Set the working directory to the user's home directory
 
 
35
  WORKDIR $HOME/app
36
 
37
  COPY --chown=user . $HOME/app
38
 
39
+ COPY --chown=user entrypoint.sh $HOME/app/
40
+
41
+ RUN ls -la $HOME/app/
42
+
43
  RUN chmod +x $HOME/app/entrypoint.sh
44
 
45
  ENTRYPOINT ["/home/app/entrypoint.sh"]