diff --git a/api/Dockerfile b/api/Dockerfile index dd8b542e..e131d494 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,5 +1,5 @@ # build environment -FROM node:18-alpine3.17 as build +FROM node:20-alpine3.17 as build WORKDIR /app COPY package.json yarn.lock .env.sh ./ RUN yarn install --frozen-lockfile @@ -12,7 +12,7 @@ RUN npm install -g @vercel/ncc@0.36.1 RUN npx ncc build src/main.js # production environment -FROM node:18-alpine3.17 +FROM node:20-alpine3.17 RUN apk add --no-cache \ git \ openssh-client \