Skip to content

Commit 3655862

Browse files
committed
fix: correct lintwarning multiple run for container
Signed-off-by: Josef Andersson <josef.andersson@digg.se>
1 parent 8c0dda2 commit 3655862

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Containerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ RUN npm ci --no-audit --no-fund --ignore-scripts
1111

1212
COPY . .
1313

14-
RUN npm run build
15-
16-
RUN npm prune --omit=dev
14+
RUN npm run build && \
15+
npm prune --omit=dev
1716

1817
FROM node:24.11.0-slim AS runtime
1918
ENV NODE_ENV=production

0 commit comments

Comments
 (0)