From b3c0c8daef72e6b552ae1cfcf20d656f3d709027 Mon Sep 17 00:00:00 2001 From: Trillium Smith Date: Sun, 16 Jul 2023 10:44:50 -0700 Subject: [PATCH] wip: Update containers for testing --- client/Dockerfile.prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/Dockerfile.prod b/client/Dockerfile.prod index e0f62de8..a05d5a66 100644 --- a/client/Dockerfile.prod +++ b/client/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM alpine:3.14 AS node-modules-install +FROM 20-alpine3.17 AS node-modules-install RUN mkdir /srv/client && chown node:node /srv/client WORKDIR /srv/client USER node @@ -6,7 +6,7 @@ RUN mkdir -p node_modules COPY --chown=node:node package.json package.json ./ RUN npm install --silent -FROM node:18.12.0-slim AS client-builder +FROM node:18-slim AS client-builder USER node WORKDIR /srv/client COPY --from=node-modules-install /srv/client/node_modules node_modules