Files
private_image/backend/Dockerfile.prod
T
nobswebdev 4385a024a8 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.
2026-10-28 20:56:05 +01:00

16 lines
162 B
Docker

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"]