Skip to content

Commit

Permalink
Create docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chourmovs authored Sep 7, 2024
1 parent 7521ae6 commit e12b7a2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '3'
services:
webapp:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./webapp:/usr/src/app # Monte ton dossier local dans le conteneur
ports:
- "3000:3000" # Expose le port de ton application Node.js
environment:
NODE_ENV: development # Mode développement pour auto-reload si nécessaire
command: npm run dev # Démarre ton application en mode développement

0 comments on commit e12b7a2

Please sign in to comment.