dockerfile

This commit is contained in:
Ivan
2024-01-25 14:07:29 +03:00
parent 7f520581a4
commit 1bc2effd2d
5 changed files with 62 additions and 3 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: "3"
services:
captain-app:
build:
context: .
dockerfile: Dockerfile
working_dir: /app
command: ["node", "index.js"]
ports:
- "8081:8081"
volumes:
- .:/app
environment:
NODE_ENV: production
API_SERVER: "${API_SERVER}"
SITE_DOMAIN: "${SITE_DOMAIN}"