mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 05:46:28 +02:00
🔧 make the app docker ready
This commit is contained in:
committed by
ChatonDeAru (Romain)
parent
24db804c7f
commit
a0c4396527
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal 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:
|
Reference in New Issue
Block a user