From f6d6183cfb697774dad7eab2c68993473dbb8db0 Mon Sep 17 00:00:00 2001 From: Aozaki Date: Fri, 2 Aug 2024 18:35:23 +0800 Subject: [PATCH] update: use nodejs 20 (lts) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6fca5cf..c60df5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Building -FROM node:18-alpine AS base +FROM node:20-alpine AS base WORKDIR /app/ @@ -11,7 +11,7 @@ RUN npm run build # Deploy -FROM node:18-alpine +FROM node:20-alpine ENV NODE_ENV=production @@ -25,4 +25,4 @@ RUN npm ci RUN npm run deploy-commands -CMD ["npm", "start"] \ No newline at end of file +CMD ["npm", "start"]