sbrandeis HF staff commited on
Commit
2218973
·
verified ·
1 Parent(s): 2146e5e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -13,6 +13,7 @@ WORKDIR /app
13
  COPY --link ./ /app
14
  RUN npm i
15
 
 
16
  RUN chown 1000 /app
17
  USER 1000
18
  CMD ["node", "index.js"]
 
13
  COPY --link ./ /app
14
  RUN npm i
15
 
16
+ # The base image already creates a user with 1000, no need to call useradd
17
  RUN chown 1000 /app
18
  USER 1000
19
  CMD ["node", "index.js"]