docker based
This commit is contained in:
12
bizmatch/Dockerfile
Normal file
12
bizmatch/Dockerfile
Normal 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"]
|
||||||
9
bizmatch/docker-compose.yml
Normal file
9
bizmatch/docker-compose.yml
Normal 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
|
||||||
Reference in New Issue
Block a user