🔧 make the app docker ready

This commit is contained in:
ChatonDeAru
2024-03-24 10:17:15 +01:00
committed by ChatonDeAru (Romain)
parent 24db804c7f
commit a0c4396527
8 changed files with 258 additions and 133 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
version: "3.6"
services:
app:
build:
context: ./
dockerfile: Dockerfile
args:
- NODE_ENV=development
volumes:
- .:/opt/node_app/app:delegated
- ./package.json:/opt/node_app/app/package.json
- ./yarn.lock:/opt/node_app/app/yarn.lock:cached
ports:
- "3000:3000"
env_file:
- .env
tty: true
volumes:
notused: