diff --git a/apps/admin-api/Dockerfile b/apps/admin-api/Dockerfile index fc4b77fce..b6b409a1a 100644 --- a/apps/admin-api/Dockerfile +++ b/apps/admin-api/Dockerfile @@ -1,6 +1,6 @@ # When copying this Dockerfile for use in other apps, don't forget to change the scope (api, web, etc.) in RUN commands -FROM node:18-alpine AS pnpm +FROM node:20-alpine AS pnpm # 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 RUN apk update diff --git a/apps/admin-web/Dockerfile b/apps/admin-web/Dockerfile index 56120ad9c..ab9e8534a 100644 --- a/apps/admin-web/Dockerfile +++ b/apps/admin-web/Dockerfile @@ -1,6 +1,6 @@ # When copying this Dockerfile for use in other apps, don't forget to change the scope (api, web, etc.) in RUN commands -FROM node:18-alpine AS pnpm +FROM node:20-alpine AS pnpm # 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 RUN apk update @@ -42,7 +42,7 @@ RUN pnpm turbo run build --filter=admin-web... # -------------------------------------------------------- -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app RUN apk add --no-cache --update \ diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 042ca31b5..127176e73 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -1,6 +1,6 @@ # When copying this Dockerfile for use in other apps, don't forget to change the scope (api, web, etc.) in RUN commands -FROM node:18-alpine AS pnpm +FROM node:20-alpine AS pnpm # 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 RUN apk update diff --git a/apps/reg-scraper/Dockerfile b/apps/reg-scraper/Dockerfile index c8d1a3473..a3adfefb4 100644 --- a/apps/reg-scraper/Dockerfile +++ b/apps/reg-scraper/Dockerfile @@ -1,6 +1,6 @@ # When copying this Dockerfile for use in other apps, don't forget to change the scope (api, web, etc.) in RUN commands -FROM node:18-alpine AS pnpm +FROM node:20-alpine AS pnpm # 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 RUN apk update diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index c967f727c..11b5c74f0 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -1,6 +1,6 @@ # When copying this Dockerfile for use in other apps, don't forget to change the scope (api, web, etc.) in RUN commands -FROM node:18-alpine AS pnpm +FROM node:20-alpine AS pnpm # 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 RUN apk update @@ -42,7 +42,7 @@ RUN pnpm turbo run build --filter=web... # -------------------------------------------------------- -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app RUN apk add --no-cache --update \