From bad5af6770f2a67370667c7e5ce1a667f15a4574 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 14 Sep 2023 11:04:31 +0200 Subject: [PATCH] feat: update to node 20 --- Dockerfile | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96db0df..71c311d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine as builder +FROM node:20-alpine as builder WORKDIR /app COPY . . @@ -9,7 +9,7 @@ RUN yarn run build:static ### -FROM node:16-alpine +FROM node:20-alpine WORKDIR /app COPY --from=builder /app/package.json /app/package.json @@ -20,4 +20,4 @@ COPY --from=builder /app/static /app/static EXPOSE 3000 -CMD node --experimental-fetch ./dist/ \ No newline at end of file +CMD node ./dist/ \ No newline at end of file diff --git a/package.json b/package.json index 4e5d59b..071511f 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "webpack-cli": "^5.0.0" }, "scripts": { - "start": "node --experimental-fetch ./", + "start": "node ./", "dev": "LOG_LEVEL=debug yarn run watch && yarn run build:static:dev", "test": "yarn run lint && mocha", "watch": "./node_modules/.bin/nodemon --config nodemon.json ./",