Skip to content

Commit ab5c169

Browse files
committed
Use node 20
1 parent faa0407 commit ab5c169

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM node:18 AS builder
1+
FROM --platform=$BUILDPLATFORM node:20 AS builder
22

33
WORKDIR /calcom
44

@@ -54,7 +54,7 @@ RUN yarn --cwd apps/web workspace @calcom/web run build
5454
# yarn workspaces focus --all --production
5555
RUN rm -rf node_modules/.cache .yarn/cache apps/web/.next/cache
5656

57-
FROM node:18 AS builder-two
57+
FROM node:20 AS builder-two
5858

5959
WORKDIR /calcom
6060
ARG NEXT_PUBLIC_WEBAPP_URL=http://localhost:3000
@@ -71,14 +71,12 @@ COPY --from=builder /calcom/packages/prisma/schema.prisma ./prisma/schema.prisma
7171
COPY scripts scripts
7272
RUN chmod +x scripts/*
7373

74-
# Save value used during this build stage. If NEXT_PUBLIC_WEBAPP_URL and BUILT_NEXT_PUBLIC_WEBAPP_URL differ at
75-
# run-time, then start.sh will find/replace static values again.
7674
ENV NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL \
7775
BUILT_NEXT_PUBLIC_WEBAPP_URL=$NEXT_PUBLIC_WEBAPP_URL
7876

7977
RUN scripts/replace-placeholder.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER ${NEXT_PUBLIC_WEBAPP_URL}
8078

81-
FROM node:18 AS runner
79+
FROM node:20 AS runner
8280

8381
WORKDIR /calcom
8482
COPY --from=builder-two /calcom ./

apps/web/Dockerfile.render

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)