[GH-ISSUE #122] [Feature] Docker images 构建优化 #92

Closed
opened 2026-03-03 00:31:23 +03:00 by kerem · 1 comment
Owner

Originally created by @l123wx on GitHub (Sep 30, 2024).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/122

我注意到每次前端更新的时候都要手动提交 commit 把前端构建后的代码提交到仓库,怎么不把构建前端的步骤也放到 Dockerfile 里面呢?😂😂😂

Originally created by @l123wx on GitHub (Sep 30, 2024). Original GitHub issue: https://github.com/certimate-go/certimate/issues/122 我注意到每次前端更新的时候都要手动提交 commit 把前端构建后的代码提交到仓库,怎么不把构建前端的步骤也放到 Dockerfile 里面呢?😂😂😂
kerem 2026-03-03 00:31:23 +03:00
Author
Owner

@usual2970 commented on GitHub (Sep 30, 2024):

😀理由如下:

  1. build 工作并不繁重,你还可以顺便检查一下开发结果
  2. 对于不懂前端的同学,拿到源码后直接 go run main.go serve就行了

当然了,看起来不符合前端开发的最佳实践,不影响开发效率就可以了。

<!-- gh-comment-id:2384519535 --> @usual2970 commented on GitHub (Sep 30, 2024): 😀理由如下: 1. build 工作并不繁重,你还可以顺便检查一下开发结果 2. 对于不懂前端的同学,拿到源码后直接 go run main.go serve就行了 当然了,看起来不符合前端开发的最佳实践,不影响开发效率就可以了。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#92
No description provided.