From 325afdf5d851f16f60c9cce7a684f26362b09faa Mon Sep 17 00:00:00 2001 From: Tung Huynh <84435886+Tung-Huynh-Shopmacher@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:41:56 +0700 Subject: [PATCH] Update Dockerfile --- processor/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/processor/Dockerfile b/processor/Dockerfile index 5a0f3bb..1d010e2 100644 --- a/processor/Dockerfile +++ b/processor/Dockerfile @@ -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 @@ -27,4 +29,4 @@ CMD ["npm", "run", "start"] # Metadata LABEL org.opencontainers.image.authors="Mollie B.V. " \ - copyright="Copyright (c) 2024 Mollie B.V. All rights reserved." \ No newline at end of file + copyright="Copyright (c) 2024 Mollie B.V. All rights reserved."