diff --git a/client.Dockerfile b/client.Dockerfile index f17e3415c2..3f80f696e4 100644 --- a/client.Dockerfile +++ b/client.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17.5-buster AS builder +FROM node:14.17.6-buster AS builder # this is a bit clunky, perhaps there's a more concise way of passing in build # arguments @@ -28,7 +28,7 @@ RUN npm run build:client WORKDIR /home/node/config RUN git clone https://github.com/freeCodeCamp/client-config.git client -FROM node:14.17.5-alpine +FROM node:14.17.6-alpine RUN npm i -g serve USER node WORKDIR /home/node diff --git a/server.Dockerfile b/server.Dockerfile index cba6901c2b..df9b8a77f8 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17.5-alpine as builder +FROM node:14.17.6-alpine as builder USER node WORKDIR /home/node/build COPY --chown=node:node . . @@ -7,7 +7,7 @@ RUN npm ci RUN npm run build:curriculum RUN npm run build:server -FROM node:14.17.5-alpine +FROM node:14.17.6-alpine USER node WORKDIR /home/node/api # get and install deps