Browse Source

Merge pull request #186 from rothgar/dockerfile

Update dockerfile COPY to use node user
dev_h
Ophir LOJKINE 4 years ago
parent
commit
1d09b32345
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Dockerfile

+ 1
- 1
Dockerfile View File

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

Loading…
Cancel
Save