chore: fix docker build

This commit is contained in:
Nathan
2025-12-01 15:03:16 +08:00
parent 6ae43aabf9
commit ca46949b42

View File

@@ -38,8 +38,8 @@ RUN bun install cheerio pino pino-pretty
COPY --from=builder /app/dist /usr/share/nginx/html/
COPY --from=builder /app/dist /app/dist
# Copy only necessary files for SSR
COPY deploy/server.ts /app/server.ts
# Copy all SSR server files (server.ts imports config.ts, logger.ts, routes.ts, etc.)
COPY deploy/ /app/
COPY docker/nginx-ssr.conf /etc/nginx/nginx.conf
COPY docker/supervisord-ssr.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/entrypoint-ssr.sh /docker-entrypoint.sh