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
459e5b9f
Commit
459e5b9f
authored
Jul 22, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
a1450df1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
Dockerfile
+5
-1
No files found.
Dockerfile
View file @
459e5b9f
...
@@ -2,8 +2,12 @@ FROM node:16
...
@@ -2,8 +2,12 @@ FROM node:16
WORKDIR
/app
WORKDIR
/app
# 安装项目依赖(包含开发依赖)
# 清理旧依赖
RUN
rm
-rf
node_modules package-lock.json
# 安装依赖
COPY
package*.json ./
COPY
package*.json ./
RUN
npm cache clean
--force
RUN
npm install
--include
=
dev
--legacy-peer-deps
RUN
npm install
--include
=
dev
--legacy-peer-deps
# 复制源码并构建
# 复制源码并构建
...
...
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