Spaces:
Sleeping
Sleeping
Commit ·
bb8aab1
1
Parent(s): ca7d483
fix: copy public folder in production Dockerfile to prevent PDF renderer 404
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -35,6 +35,7 @@ RUN chown nextjs:nodejs .next
|
|
| 35 |
# Automatically leverage output traces to reduce image size
|
| 36 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
| 37 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
|
|
|
| 38 |
|
| 39 |
USER nextjs
|
| 40 |
|
|
|
|
| 35 |
# Automatically leverage output traces to reduce image size
|
| 36 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
| 37 |
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
| 38 |
+
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
| 39 |
|
| 40 |
USER nextjs
|
| 41 |
|