Skip to content

Commit caf7615

Browse files
Merge pull request #58 from mollie/feature/MOL-431
MOL-431: update dockerfile + packages
2 parents 25ddb9e + 325afdf commit caf7615

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

processor/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ WORKDIR /app
44

55
COPY ./package*.json ./
66

7-
RUN npm install --production --frozen-lockfile
7+
RUN npm install --frozen-lockfile
88

99
COPY . .
1010

11-
RUN npm run build
11+
RUN npm run build
12+
13+
RUN npm prune --production
1214

1315
FROM node:18-alpine AS runner
1416

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

2830
# Metadata
2931
LABEL org.opencontainers.image.authors="Mollie B.V. <info@mollie.com>" \
30-
copyright="Copyright (c) 2024 Mollie B.V. All rights reserved."
32+
copyright="Copyright (c) 2024 Mollie B.V. All rights reserved."

processor/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"node": ">=18.0.0 <=20.9.0"
3434
},
3535
"devDependencies": {
36-
"@tsconfig/recommended": "^1.0.7",
3736
"@types/express": "^4.17.21",
3837
"@types/jest": "^29.5.12",
39-
"@types/node": "^18.19.39",
4038
"@types/node-fetch": "^2.6.11",
4139
"@types/validator": "^13.12.0",
40+
"@tsconfig/recommended": "^1.0.7",
41+
"@types/node": "^18.19.39",
4242
"@typescript-eslint/eslint-plugin": "7.13.1",
4343
"@typescript-eslint/parser": "7.13.1",
4444
"concurrently": "^8.2.2",

0 commit comments

Comments
 (0)