docker compose and .gitignore

This commit is contained in:
Lucas Tettamanti
2026-01-01 20:15:36 -03:00
parent e6435a0f5a
commit 863449e21d
3 changed files with 1236 additions and 0 deletions

13
docker-compose.yml Normal file
View File

@@ -0,0 +1,13 @@
services:
app:
image: node:20-alpine
working_dir: /usr/src/app
command: sh -c "npm install && npm run dev"
ports:
- "3000:3000"
environment:
- PORT=3000
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
restart: unless-stopped