mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user