Skip to content

Commit

Permalink
update node version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Apr 27, 2024
1 parent e58456a commit 1155e79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine3.16 AS builder
FROM node:20-alpine3.19 AS builder
# 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
Expand All @@ -11,7 +11,7 @@ RUN turbo prune --scope=@altairgraphql/api --docker
# ===

# Add lockfile and package.json's of isolated subworkspace
FROM node:20-alpine3.16 AS installer
FROM node:20-alpine3.19 AS installer
RUN apk add --no-cache libc6-compat
RUN apk add --no-cache python3 make g++
RUN apk update
Expand All @@ -36,7 +36,7 @@ RUN yarn turbo run build --filter=@altairgraphql/api...

# ===

FROM node:20-alpine3.16 AS runner
FROM node:20-alpine3.19 AS runner
WORKDIR /app


Expand Down

0 comments on commit 1155e79

Please sign in to comment.