Skip to content

Commit fc5ccd5

Browse files
committed
build with env NODE_ENV=production
1 parent 8f0905e commit fc5ccd5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ COPY webpack.config.js ./
88
COPY src ./src
99
RUN ls
1010
# Install the project's dependencies and build the bundles
11-
RUN npm ci && npm run build && env NODE_ENV=production npm prune
11+
RUN npm ci
12+
RUN env NODE_ENV=production npm run build
13+
RUN env NODE_ENV=production npm prune
1214

1315
# --------------------------------------------------------------------------------
1416

0 commit comments

Comments
 (0)