Add prod compose and backend production image.

Wire postgres, pgadmin, backend, nginx, and tor with nullcart-style layout; document clearnet and onion hostname env vars for deploy.
This commit is contained in:
2026-10-28 20:56:05 +01:00
parent f5024b84d8
commit 4385a024a8
3 changed files with 114 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM node:22.23.4-alpine
WORKDIR /backend
RUN apk add --no-cache curl
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build
CMD ["node", "dist/main"]