TillCyrill commited on
Commit
5cb94a2
·
1 Parent(s): e942032

added user

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -18,6 +18,8 @@ USER root
18
 
19
  WORKDIR $HOME/app
20
 
 
 
21
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
22
  COPY --chown=user . $HOME/app
23
 
 
18
 
19
  WORKDIR $HOME/app
20
 
21
+ RUN useradd -m -u 1000 user
22
+ USER user
23
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
24
  COPY --chown=user . $HOME/app
25