Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-middle-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-middle-front
Commits
9a39fe8b
Commit
9a39fe8b
authored
Sep 05, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker 配置
parent
c241d187
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
Dockerfile
+1
-1
package.json
+1
-0
No files found.
Dockerfile
View file @
9a39fe8b
...
...
@@ -27,7 +27,7 @@ RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
WORKDIR
/app
# 复制包管理文件
COPY
package.json ./
COPY
package.json
package-lock.json
./
# 1. 显式安装 esbuild 二进制
RUN
npm install @esbuild/linux-x64
--verbose
--registry
=
https://registry.npmmirror.com
...
...
package.json
View file @
9a39fe8b
...
...
@@ -8,6 +8,7 @@
"scripts"
:
{
"dev"
:
"vite"
,
"build:prod"
:
"vite build"
,
"build:test"
:
"vite build --mode testelopment"
,
"build:stage"
:
"vite build --mode staging"
,
"preview"
:
"vite preview"
},
...
...
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