use a custom https agent for self-signed bypass
This commit is contained in:
1 parent
5c3d6f913e
commit
ccc37260a0
2 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user