Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tung-Huynh-Shopmacher authored Sep 12, 2024
1 parent c324f46 commit 325afdf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RUN npm install --frozen-lockfile

COPY . .

RUN npm run build && npm prune --production
RUN npm run build

RUN npm prune --production

FROM node:18-alpine AS runner

Expand All @@ -27,4 +29,4 @@ CMD ["npm", "run", "start"]

# Metadata
LABEL org.opencontainers.image.authors="Mollie B.V. <[email protected]>" \
copyright="Copyright (c) 2024 Mollie B.V. All rights reserved."
copyright="Copyright (c) 2024 Mollie B.V. All rights reserved."

0 comments on commit 325afdf

Please sign in to comment.