From f8639c9eee4b357c32a47422e4617c6b907d6e7a Mon Sep 17 00:00:00 2001 From: Jackson Roberts Date: Wed, 25 Feb 2026 21:25:25 -0600 Subject: [PATCH] node env prod --- Dockerfile | 2 +- kubernetes/ingress.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ad1872..a81094a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ COPY prisma.config.ts tsconfig.json ./ RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" bunx prisma generate # Compile to a standalone executable -RUN bun build src/index.ts \ +RUN NODE_ENV=production bun build src/index.ts \ --compile \ --minify \ --target=bun-linux-x64 \ diff --git a/kubernetes/ingress.yaml b/kubernetes/ingress.yaml index 4b451b9..e738516 100644 --- a/kubernetes/ingress.yaml +++ b/kubernetes/ingress.yaml @@ -8,7 +8,9 @@ metadata: traefik.ingress.kubernetes.io/router.tls: "true" spec: tls: - - secretName: osdci-net-cert + - hosts: + - opt-api.osdci.net + secretName: osdci-net-cert rules: - host: opt-api.osdci.net http: