docker based

This commit is contained in:
Andreas Knuth 2026-01-07 10:28:59 -06:00
parent 61e10937dd
commit d36da86eee
2 changed files with 21 additions and 0 deletions

12
bizmatch/Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:22-alpine
WORKDIR /app
COPY dist/bizmatch ./dist
COPY package*.json ./
RUN npm ci --omit=dev
EXPOSE 4200
CMD ["node", "dist/bizmatch/server/server.mjs"]

View File

@ -0,0 +1,9 @@
services:
bizmatch-ssr:
image: bizmatch-ssr
container_name: bizmatch-ssr
restart: unless-stopped
ports:
- '4200:4200'
environment:
NODE_ENV: production