Spaces:
Running
Running
File size: 422 Bytes
181d9ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "5173:5173" # adapt if using another dev server port
volumes:
- .:/app
- /app/node_modules # pour éviter les conflits entre host et conteneur
working_dir: /app
tty: true
mongo:
image: mongo:7
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
volumes:
mongo-data:
|