File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,10 +142,3 @@ packages/stack/*
142142! packages /react /package.json
143143! packages /next /package.json
144144! packages /stack /package.json
145-
146- # GCP infra — Terraform runtime files + secrets
147- infra /gcp /.terraform /
148- infra /gcp /.terraform.lock.hcl
149- infra /gcp /terraform.tfstate
150- infra /gcp /terraform.tfstate.backup
151- infra /gcp /env.secret.auto.tfvars.json
Original file line number Diff line number Diff line change 1- # Cloud Run variant: backend only, no entrypoint script, no dashboard .
1+ # Backend only, no migrations or entrypoint script .
22# Connects to the same AWS services (RDS, S3, KMS) as the Vercel deployment.
33#
4- # Build: docker build -f docker/server /Dockerfile.cloudrun -t stack-backend .
5- # Run: docker run -p 8080:8080 --env-file .env stack-backend
4+ # Build: docker build -f docker/backend /Dockerfile -t stack-backend .
5+ # Run: docker run -p 8102:8102 --env-file .env stack-backend
66
77ARG NODE_VERSION=22.21.1
88
@@ -82,13 +82,11 @@ COPY --from=builder --chown=node:node /app/node_modules ./node_modules
8282COPY --from=builder --chown=node:node /app/packages ./packages
8383
8484ENV NODE_ENV=production
85- ENV PORT=8080
85+ ENV PORT=8102
8686ENV HOSTNAME=0.0.0.0
8787
8888USER node
8989
90- EXPOSE 8080
90+ EXPOSE 8102
9191
92- # Migrations run as a separate Cloud Run Job, not here.
93- # Cloud Run sends SIGTERM on shutdown; the app handles it via the SIGTERM handler in prisma-client.tsx.
9492CMD ["node" , "apps/backend/server.js" ]
You can’t perform that action at this time.
0 commit comments