fix(ssr): copy next-sitemap.config.js in dockerfile
All checks were successful
deploy / deploy (push) Successful in 1m12s

This commit is contained in:
Lee 2023-11-07 23:08:23 +00:00
parent b37d7cd621
commit 0529cf3492

View File

@ -37,6 +37,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/package.json ./package.json
COPY --from=builder --chown=nextjs:nodejs /app/next.config.js ./next.config.js
COPY --from=builder --chown=nextjs:nodejs /app/next-sitemap.config.js ./next-sitemap.config.js
# Generate sitemap
RUN npm run generate-sitemap