feat: migrate backend storage to postgres
Some checks failed
Deploy to Production / Build and Test (push) Successful in 10m51s
Deploy to Production / Deploy to Server (push) Failing after 6m41s

This commit is contained in:
你的用户名
2025-11-06 22:01:50 +08:00
parent 3646405a47
commit b68511b2e2
28 changed files with 2641 additions and 1801 deletions

View File

@@ -12,6 +12,7 @@ COPY apps ./apps
COPY packages ./packages
COPY internal ./internal
COPY scripts ./scripts
COPY data ./data
# 安装依赖如果存在lock文件则使用
RUN pnpm install --no-frozen-lockfile
@@ -48,6 +49,7 @@ RUN mkdir -p /app/apps
COPY --from=backend-builder /app/apps/backend /app/apps/backend
RUN ln -s /app/apps/backend /app/backend
COPY --from=backend-builder /app/node_modules /app/node_modules
COPY --from=backend-builder /app/data /app/data
# 创建nginx配置和日志目录
RUN mkdir -p /run/nginx && \