Skip to content

Commit

Permalink
Merge pull request #118 from victorsoares96/renovate/node-20.x
Browse files Browse the repository at this point in the history
Update Node.js to v20
  • Loading branch information
victorsoares96 authored Dec 29, 2023
2 parents 4cb8ea5 + b9ec1d7 commit 6beafd3
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.11",
"@types/jsonwebtoken": "9.0.5",
"@types/node": "18.16.4",
"@types/node": "20.10.5",
"@types/supertest": "6.0.2",
"@types/validator": "13.11.7",
"@typescript-eslint/eslint-plugin": "5.62.0",
Expand Down

0 comments on commit 6beafd3

Please sign in to comment.