Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

hyp docker.md

maoxiaoyue edited this page Apr 14, 2026 · 1 revision

hyp docker — 建構 Docker 映像

根據 config.yaml 設定,為當前 HypGo 專案建構 Docker 映像。

用法

hyp docker

建構流程

使用多階段 Dockerfile:

Stage 1 (builder)
 └─ 編譯 Go binary(CGO_DISABLED=1)
Stage 2 (runtime)
 └─ 複製 binary + config + 靜態檔案到最小映像

映像包含:

  • 編譯後的 Go binary
  • config.yaml
  • TLS 憑證(如有設定)
  • 靜態檔案和模板(全棧專案)

相關命令

HypGo

繁體中文 | English


中文文件

設計文件

套件

AI 協作工具鏈

CLI 命令


English Docs

Design Docs

Packages

AI Collaboration Toolchain

CLI Commands

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /