Browse Source

Update dockerfile COPY to use node user

dev_h
Justin Garrison 4 years ago
parent
commit
471524b677
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Dockerfile

+ 1
- 1
Dockerfile View File

@@ -9,7 +9,7 @@ USER 1000:1000
9 9
 
10 10
 COPY package.json package-lock.json ./
11 11
 RUN npm ci --production
12
-COPY . .
12
+COPY --chown=1000:1000 . .
13 13
 
14 14
 ENV PORT=8080
15 15
 EXPOSE 8080

Loading…
Cancel
Save