Skip to content

Commit ca46949

Browse files
committed
chore: fix docker build
1 parent 6ae43aa commit ca46949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile.ssr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ RUN bun install cheerio pino pino-pretty
3838
COPY --from=builder /app/dist /usr/share/nginx/html/
3939
COPY --from=builder /app/dist /app/dist
4040

41-
# Copy only necessary files for SSR
42-
COPY deploy/server.ts /app/server.ts
41+
# Copy all SSR server files (server.ts imports config.ts, logger.ts, routes.ts, etc.)
42+
COPY deploy/ /app/
4343
COPY docker/nginx-ssr.conf /etc/nginx/nginx.conf
4444
COPY docker/supervisord-ssr.conf /etc/supervisor/conf.d/supervisord.conf
4545
COPY docker/entrypoint-ssr.sh /docker-entrypoint.sh

0 commit comments

Comments
 (0)