fix(docker): bundle manifest/config into image
All checks were successful
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Successful in 56s

This commit is contained in:
xpcool-bot 2026-08-25 00:09:44 +08:00
parent 2c8d7f362e
commit 05bb399321

View File

@ -6,8 +6,11 @@ FROM loads/alpine:3.8
ENV WORKDIR /app
ADD resource $WORKDIR/
ADD manifest/config $WORKDIR/manifest/config
ADD ./temp/linux_amd64/main $WORKDIR/main
RUN chmod +x $WORKDIR/main
# GoFrame 默认加载 config.yaml这里把生产配置作为默认配置
RUN cp $WORKDIR/manifest/config/config.prod.yaml $WORKDIR/manifest/config/config.yaml
###############################################################################
# START