lucas-wa commited on
Commit
b6d1936
1 Parent(s): afa1a9e

Fixing permission deined

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -26,16 +26,16 @@ COPY entrypoint.sh /code/entrypoint.sh
26
 
27
  RUN chmod +x /code/entrypoint.sh
28
 
29
- RUN useradd -m -u 1000 user
30
 
31
- USER user
32
 
33
- ENV HOME=/home/user \
34
- PATH=/home/user/.local/bin:$PATH
35
 
36
- WORKDIR $HOME/app
37
 
38
- COPY --chown=user . $HOME/app
39
 
40
  ENTRYPOINT ["/code/entrypoint.sh"]
41
 
 
26
 
27
  RUN chmod +x /code/entrypoint.sh
28
 
29
+ # RUN useradd -m -u 1000 user
30
 
31
+ # USER user
32
 
33
+ # ENV HOME=/home/user \
34
+ # PATH=/home/user/.local/bin:$PATH
35
 
36
+ # WORKDIR $HOME/app
37
 
38
+ # COPY --chown=user . $HOME/app
39
 
40
  ENTRYPOINT ["/code/entrypoint.sh"]
41