fix: dockerfile

This commit is contained in:
2026-06-17 22:53:13 +05:30
parent 224a33c553
commit 63d7950ff4
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -8,11 +8,11 @@
# image (e.g. for a registry). For the normal homeserver flow, this image
# is never built.
#
# `corepack` reads the `packageManager` field from apps/web/package.json
# so we don't pin a version here.
# We install pnpm globally via npm to avoid corepack's strict version
# negotiation across Node 20 minor versions.
FROM node:20-alpine AS base
RUN corepack enable
RUN npm install -g [email protected]
WORKDIR /repo
FROM base AS deps