diff --git a/Dockerfile b/Dockerfile index dca60d91..1eaf91d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,9 +39,6 @@ COPY --from=builder /app/package.json ./package.json COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static -# ensure keepAlive is in-sync with AWS ALB, to prevent 502's -RUN echo ";server.keepAliveTimeout = 72000;" >> ./server.js - USER nextjs EXPOSE 3000