Fix: Sandbox Dockerfile (#3280)

修复打包异常,异常信息:
Step 17/28 : COPY package.json pnpm-workspace.yaml /app
When using COPY with more than one source file, the destination must be a directory and end with a /
This commit is contained in:
gallonyin
2024-11-30 11:09:51 +08:00
committed by GitHub
parent a4a8b7909c
commit d0e8c9c62e

View File

@@ -30,7 +30,7 @@ FROM node:20.14.0-alpine AS builder
WORKDIR /app
COPY package.json pnpm-workspace.yaml /app
COPY package.json pnpm-workspace.yaml /app/
COPY --from=install /app/node_modules /app/node_modules
COPY ./projects/sandbox /app/projects/sandbox
COPY --from=install /app/projects/sandbox /app/projects/sandbox