This commit is contained in:
2024-02-04 14:24:21 +03:00
parent 6b161f2e2c
commit 5af681939e
2 changed files with 20 additions and 0 deletions

9
backend/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM node:20-alpine
LABEL authors="anatolykopyl"
WORKDIR /usr/node/app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .

View File

@@ -0,0 +1,11 @@
version: '3'
services:
flexpatrol-bingo:
image: git.radner.ru/anatolykopyl/flexpatrol-bingo:latest
container_name: flexpatrol-bingo
working_dir: /usr/node/app
ports:
- "3004:3000"
command: >
sh -c "node index.js"