Skip to content

Commit 6e2f7a9

Browse files
try again
Co-authored-by: Jordi Anguela <jordi@codium.team>
1 parent b03a0ff commit 6e2f7a9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
FROM node:16 AS builder
22

3-
USER node
4-
53
WORKDIR /code
64

7-
COPY --chown=node:node .npmrc package-lock.json package.json ./
5+
COPY .npmrc package-lock.json package.json ./
86
RUN npm install
9-
COPY --chown=node:node . .
7+
COPY . .
108
RUN npm run build
119

1210
VOLUME ["/code", "/code/node_modules"]

0 commit comments

Comments
 (0)