Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
61899d9b
authored
Aug 04, 2025
by
Oven
Committed by
GitHub
Aug 04, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: build mcp image proxy (#5379)
parent
05bbba27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
projects/mcp_server/Dockerfile
+4
-0
No files found.
projects/mcp_server/Dockerfile
View file @
61899d9b
...
@@ -12,6 +12,7 @@ COPY packages/global ./packages/global
...
@@ -12,6 +12,7 @@ COPY packages/global ./packages/global
COPY
packages/web ./packages/web
COPY
packages/web ./packages/web
COPY
projects/mcp_server/package.json ./projects/mcp_server/package.json
COPY
projects/mcp_server/package.json ./projects/mcp_server/package.json
RUN
[
-z
"
$proxy
"
]
||
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g'
/etc/apk/repositories
RUN
apk add
--no-cache
\
RUN
apk add
--no-cache
\
curl ca-certificates
\
curl ca-certificates
\
&&
update-ca-certificates
&&
update-ca-certificates
...
@@ -50,6 +51,9 @@ RUN pnpm --filter=mcp_server build
...
@@ -50,6 +51,9 @@ RUN pnpm --filter=mcp_server build
FROM
node:20.14.0-alpine AS runner
FROM
node:20.14.0-alpine AS runner
WORKDIR
/app
WORKDIR
/app
ARG
proxy
RUN
[
-z
"
$proxy
"
]
||
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g'
/etc/apk/repositories
RUN
apk add
--no-cache
libffi libffi-dev strace bash
RUN
apk add
--no-cache
libffi libffi-dev strace bash
COPY
--from=builder /app/node_modules /app/node_modules
COPY
--from=builder /app/node_modules /app/node_modules
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment