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 ./",