mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
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:
parent
a4a8b7909c
commit
d0e8c9c62e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue