build error
Job failed with exit code: 1. Reason: cache miss: [builder 6/7] RUN if [ -f next.config.js ]; then if ! grep -q "output: 'standalone'" next.config.js && ! grep -q 'output: "standalone"' next.config.js; then if grep -q "export" next.config.js; then echo "Updating module-type next.config.js with standalone output"; sed -i 's/export default/const nextConfig = /g' next.config.js && echo "nextConfig.output = 'standalone';\nexport default nextConfig;" >> next.config.js; else echo "Updating CommonJS next.config.js with standalone output"; sed -i 's/module.exports =/const nextConfig =/g' next.config.js && echo "nextConfig.output = 'standalone';\nmodule.exports = nextConfig;" >> next.config.js; fi; fi; else echo "/** @type {import('next').NextConfig} */\nconst nextConfig = {\n output: 'standalone'\n};\n\nmodule.exports = nextConfig;" > next.config.js; fi cache miss: [runner 3/6] RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs cache miss: [runner 6/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static cache miss: [builder 7/7] RUN npm run build cache miss: [runner 5/6] COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ cache miss: [runner 4/6] COPY --from=builder --chown=nextjs:nodejs /app/public ./public cache miss: [builder 5/7] COPY . . {"total":16,"completed":12,"user_total":11,"user_cached":3,"user_completed":7,"user_cacheable":10,"from":1,"miss":7,"client_duration_ms":10932}
Build logs:
Fetching error logs...