Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
0
Merge Requests
0
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
Chao Sun
CFFP-HB
Commits
222bc1c6
Commit
222bc1c6
authored
Jul 22, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
0a633f76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Dockerfile
+6
-4
No files found.
Dockerfile
View file @
222bc1c6
...
@@ -2,12 +2,14 @@ FROM node:16
...
@@ -2,12 +2,14 @@ FROM node:16
WORKDIR
/app
WORKDIR
/app
# 安装项目依赖(包含开发依赖)
COPY
package.json package-lock.json ./
COPY
package*.json ./
RUN
npm install
--include
=
dev
--legacy-peer-deps
# 先安装依赖,然后更新 Uni-app 相关包
RUN
npm install
&&
\
npm update @dcloudio/uni-cli-shared @dcloudio/vue-cli-plugin-uni
# 复制源码并构建
COPY
. .
COPY
. .
RUN
npm run build:h5
RUN
npm run build:h5
# 生产阶段
# 生产阶段
...
...
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