node env prod
This commit is contained in:
+1
-1
@@ -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 \
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user