修复容器崩溃: hggen初始化需要hack/config.yaml, 运行时镜像未拷贝
hotgo/internal/library/hggen.InIt()在HTTP命令初始化时会读取hack/config.yaml (在线代码生成功能依赖), 之前只拷贝了manifest目录导致运行时找不到该文件而致命退出
This commit is contained in:
@@ -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 .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user