use a custom https agent for self-signed bypass

This commit is contained in:
Ben Phelps 2022-08-25 01:33:39 +03:00
parent 5c3d6f913e
commit ccc37260a0
2 changed files with 8 additions and 8 deletions

View file

@ -26,9 +26,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
# Since we run in a local environment, we need to accept self signed certificates
ENV NODE_TLS_REJECT_UNAUTHORIZED 0
USER nextjs
EXPOSE 3000
ENV PORT 3000