diff --git a/Dockerfile b/Dockerfile index b6f9741..99bd3db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,8 @@ COPY --from=builder /app/app . # 在容器目录 /root/ 创建一个目录 为config RUN mkdir conf . COPY --from=builder /app/conf/ ./conf/ +COPY --from=builder /app/templates/ ./conf/ + # 暴露端口 EXPOSE 8080