diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index bd5d7e4b9..ceddc9000 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-buster-slim AS builder +FROM node:16.10.0-buster-slim AS builder WORKDIR /build COPY . . @@ -8,7 +8,7 @@ RUN apt-get install -y build-essential python3 pkg-config RUN npm install RUN npm run build -FROM node:12-buster-slim +FROM node:16.10.0-buster-slim WORKDIR /backend diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 9243e7cb9..34c41119c 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-buster-slim AS builder +FROM node:16.10.0-buster-slim AS builder ARG commitHash ENV DOCKER_COMMIT_HASH=${commitHash}