diff --git a/client.Dockerfile b/client.Dockerfile index 615d96dc43..196aa51cb4 100644 --- a/client.Dockerfile +++ b/client.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17.2-buster AS builder +FROM node:14.17.3-buster AS builder # this is a bit clunky, perhaps there's a more concise way of passing in build # arguments @@ -27,7 +27,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.2-alpine +FROM node:14.17.3-alpine RUN npm i -g serve USER node WORKDIR /home/node diff --git a/server.Dockerfile b/server.Dockerfile index 22b1755532..eb5e84df96 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17.2-alpine as builder +FROM node:14.17.3-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.2-alpine +FROM node:14.17.3-alpine USER node WORKDIR /home/node/api # get and install deps