This commit is contained in:
@@ -50,8 +50,12 @@ WORKDIR /app
|
||||
COPY --from=builder /app/tyapi-server .
|
||||
|
||||
# 复制配置文件
|
||||
COPY --chown=tyapi:tyapi config.yaml .
|
||||
COPY --chown=tyapi:tyapi configs/ ./configs/
|
||||
COPY config.yaml .
|
||||
COPY configs/ ./configs/
|
||||
|
||||
# 复制字体文件(PDF生成需要)- 创建目录结构并复制字体文件
|
||||
RUN mkdir -p ./internal/shared/pdf/fonts
|
||||
COPY --from=builder /app/internal/shared/pdf/fonts/ ./internal/shared/pdf/fonts/
|
||||
|
||||
|
||||
# 暴露端口
|
||||
|
||||
Reference in New Issue
Block a user