fix: dockerfile
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user