Ajout des fichiers de configuration pour le déploiement et la composition Docker

This commit is contained in:
Arthur
2025-09-13 01:06:06 +02:00
parent 6d11ab2e9a
commit 39de20c486
2 changed files with 35 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
version: '3.8'
services:
app:
image: node:18
working_dir: /usr/src/app
volumes:
- ./:/usr/src/app
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- PORT=3000
command: sh -c "npm install && npm start"