Fix: Copy public directory to production container
- Added COPY --from=base /app/public ./public to Dockerfile - This ensures all public assets (favicon.png, AGB.pdf, assets/) are available in production - Fixes missing public files in the production container - Public directory contains favicon.png, AGB.pdf, and logo assets
This commit is contained in:
@@ -37,6 +37,7 @@ RUN pnpm install --frozen-lockfile --prod
|
|||||||
# Copy built application from base stage
|
# Copy built application from base stage
|
||||||
COPY --from=base /app/dist ./dist
|
COPY --from=base /app/dist ./dist
|
||||||
COPY --from=base /app/server-dist ./server-dist
|
COPY --from=base /app/server-dist ./server-dist
|
||||||
|
COPY --from=base /app/public ./public
|
||||||
|
|
||||||
# Copy necessary files for runtime
|
# Copy necessary files for runtime
|
||||||
COPY --from=base /app/src/server/index.ts ./src/server/index.ts
|
COPY --from=base /app/src/server/index.ts ./src/server/index.ts
|
||||||
|
Reference in New Issue
Block a user