Skip to content

Commit

Permalink
Update Node.js to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 29, 2023
1 parent 6fb20d1 commit ad2da72
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:18 AS build
FROM node:20 AS build
WORKDIR /src
COPY package*.json ./
RUN npm pkg set scripts.prepare='true' && npm install
COPY . .
RUN npm run build

FROM node:18
FROM node:20
WORKDIR /app
COPY package*.json ./
RUN npm pkg set scripts.prepare='true' && npm ci --only=production
Expand Down
16 changes: 12 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@types/express-fileupload": "1.4.1",
"@types/jest": "29.5.1",
"@types/jsonwebtoken": "9.0.5",
"@types/node": "18.16.4",
"@types/node": "20.10.5",
"@types/supertest": "6.0.2",
"@types/validator": "13.7.15",
"@typescript-eslint/eslint-plugin": "5.62.0",
Expand Down

0 comments on commit ad2da72

Please sign in to comment.