From fc068b4d05bf524326ea2d95328a34e83ba4875c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 18:05:45 +0100 Subject: [PATCH] chore(deps): bump node from 18-alpine to 20-alpine (#937) Bumps node from 18-alpine to 20-alpine. --- updated-dependencies: - dependency-name: node dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6546c2e2..aea950f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,18 @@ -FROM node:18-alpine as build +FROM node:20-alpine as build WORKDIR /home/node/ COPY . . RUN npm pkg delete scripts.prepare RUN npm ci RUN npm run build -FROM node:18-alpine as cleanup +FROM node:20-alpine as cleanup WORKDIR /home/node/ COPY --from=build /home/node/package*.json ./ COPY --from=build /home/node/dist ./dist COPY --from=build /home/node/prisma ./prisma RUN npm ci --omit=dev -FROM node:18-alpine +FROM node:20-alpine WORKDIR /home/node/ COPY --from=cleanup /home/node/ ./ USER root