diff --git a/client.Dockerfile b/client.Dockerfile index 5c8b4d2e1b..a93754fe5d 100644 --- a/client.Dockerfile +++ b/client.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.16.1-buster AS builder +FROM node:14.17.0-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.16.1-alpine +FROM node:14.17.0-alpine RUN npm i -g serve USER node WORKDIR /home/node diff --git a/server.Dockerfile b/server.Dockerfile index fe0a6266bb..a4905f8433 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.16.1-alpine as builder +FROM node:14.17.0-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.16.1-alpine +FROM node:14.17.0-alpine USER node WORKDIR /home/node/api # get and install deps