Skip to content

Commit

Permalink
修复编译错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
atorber committed Aug 9, 2023
1 parent 450d4d6 commit 13f7719
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 28 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,5 @@ RUN npm ci --only=production
# 复制当前目录下的所有文件到工作目录
COPY . .

# 构建应用
RUN npm run build

# 清理不需要的文件
RUN rm -rf node_modules && \
rm -f package*.json && \
rm -f package-lock.json

# 启动应用
CMD ["npm", "run", "start"]
Loading

0 comments on commit 13f7719

Please sign in to comment.