修复容器崩溃: hggen初始化需要hack/config.yaml, 运行时镜像未拷贝

hotgo/internal/library/hggen.InIt()在HTTP命令初始化时会读取hack/config.yaml
(在线代码生成功能依赖), 之前只拷贝了manifest目录导致运行时找不到该文件而致命退出
This commit is contained in:
Your Name
2026-08-12 11:40:13 +08:00
parent 616d11202e
commit 5ac3a5b96c
+1
View File
@@ -36,6 +36,7 @@ RUN apk add --no-cache ca-certificates gettext bash tzdata
WORKDIR /app WORKDIR /app
COPY --from=server-build /src/manifest ./manifest COPY --from=server-build /src/manifest ./manifest
COPY --from=server-build /src/hack ./hack
COPY --from=server-build /out/hotgo . COPY --from=server-build /out/hotgo .
COPY server/manifest/docker/entrypoint.sh . COPY server/manifest/docker/entrypoint.sh .