fix(server): patches should be copied

This commit is contained in:
Neko Ayaka
2026-01-06 03:27:24 +08:00
parent a3cf297642
commit 9834252d2b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ WORKDIR /app
RUN corepack enable
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
COPY patches ./
COPY apps/server apps/server
RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
@@ -5,6 +5,7 @@ WORKDIR /app
RUN corepack enable
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
COPY patches ./
COPY apps/server apps/server
# https://docs.railway.com/guides/dockerfiles#cache-mounts