Dockerfile: public dir was not copied corectly

This commit is contained in:
2024-02-12 16:00:34 +01:00
parent 03990c07e7
commit bce9b6e811

View File

@@ -37,7 +37,7 @@ RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
# this file is required for the pdfjs-dist package
COPY --from=builder /app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs /public/pdf.worker.min.mjs
COPY --from=builder /app/node_modules/pdfjs-dist/build/pdf.worker.min.mjs /app/public/pdf.worker.min.mjs
# Set the correct permission for prerender cache
RUN mkdir .next