fix the Dockerfile - copy public dir
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 40s

This commit is contained in:
Lee 2024-04-19 16:57:39 +01:00
parent 2eedafb72d
commit c62ce2bc6f

@ -54,6 +54,9 @@ RUN chown nextjs:nodejs .next
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
# Copy the public folder
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
USER nextjs
ENV HOSTNAME "0.0.0.0"