fix the Dockerfile - copy public dir
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 40s
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 40s
This commit is contained in:
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"
|
||||
|
Loading…
Reference in New Issue
Block a user