diff --git a/client/Dockerfile b/client/Dockerfile index bccabe37..3e435b88 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,4 @@ -FROM node:17-alpine AS deps +FROM node:19-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat @@ -9,7 +9,7 @@ COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile -FROM node:17-alpine AS builder +FROM node:19-alpine AS builder WORKDIR /app @@ -23,7 +23,7 @@ ENV API_URL=${API_URL:-http://localhost:3000} RUN yarn build -FROM node:17-alpine AS runner +FROM node:19-alpine AS runner WORKDIR /app diff --git a/server/Dockerfile b/server/Dockerfile index a5c9bc5c..a26aeb98 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,4 +1,4 @@ -FROM node:17-alpine AS deps +FROM node:19-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat git @@ -9,7 +9,7 @@ COPY package.json yarn.lock tsconfig.json tslint.json ./ RUN yarn install --frozen-lockfile -FROM node:17-alpine AS builder +FROM node:19-alpine AS builder WORKDIR /app @@ -23,7 +23,7 @@ ENV NODE_ENV=${NODE_ENV:-production} RUN apk add --no-cache git RUN yarn build:docker -FROM node:17-alpine AS runner +FROM node:19-alpine AS runner WORKDIR /app