node env prod

This commit is contained in:
2026-02-25 21:25:25 -06:00
parent 3779cdc379
commit f8639c9eee
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ COPY prisma.config.ts tsconfig.json ./
RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" bunx prisma generate RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" bunx prisma generate
# Compile to a standalone executable # Compile to a standalone executable
RUN bun build src/index.ts \ RUN NODE_ENV=production bun build src/index.ts \
--compile \ --compile \
--minify \ --minify \
--target=bun-linux-x64 \ --target=bun-linux-x64 \
+3 -1
View File
@@ -8,7 +8,9 @@ metadata:
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
tls: tls:
- secretName: osdci-net-cert - hosts:
- opt-api.osdci.net
secretName: osdci-net-cert
rules: rules:
- host: opt-api.osdci.net - host: opt-api.osdci.net
http: http: