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 Sep 27, 2024
1 parent 619c8f7 commit 162cbb1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .docker/Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY package.json package-lock.json /tmp/
RUN jq 'del(.version)' < /tmp/package.json > /app/package.json
RUN jq 'del(.packages."".version) | del(.version)' < /tmp/package-lock.json > /app/package-lock.json

FROM node:18.20.4-alpine AS build
FROM node:20.17.0-alpine AS build
EXPOSE 3000
WORKDIR /app
RUN apk --no-cache add make build-base
Expand All @@ -20,7 +20,7 @@ RUN cd api \
&& touch dist/.env
RUN npm prune --workspaces --omit=dev

FROM node:18.20.4-alpine
FROM node:20.17.0-alpine
EXPOSE 3000
ENV NODE_ENV production
WORKDIR /app/api
Expand Down
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": "18.20.4"
"node": "20.17.0"
},
"scripts": {
"build": "tsc",
Expand Down Expand Up @@ -34,7 +34,7 @@
"@types/bcrypt": "^5.0.2",
"@types/luxon": "^3.4.2",
"@types/module-alias": "^2.0.4",
"@types/node": "^18.19.50",
"@types/node": "^20.16.10",
"husky": "^8.0.3",
"jest": "29.7.0",
"lint-staged": "^13.3.0",
Expand Down
33 changes: 13 additions & 20 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 @@ -2,7 +2,7 @@
"name": "template",
"version": "0.0.0",
"engines": {
"node": "18.20.4"
"node": "20.17.0"
},
"private": true,
"workspaces": [
Expand Down

0 comments on commit 162cbb1

Please # to comment.