Feat: Despliegue Docker

This commit is contained in:
2024-10-18 22:46:50 -05:00
parent 2157e8a015
commit 674209a994
3 changed files with 36 additions and 0 deletions

12
docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
version: '3.8'
services:
# Servicio de FastAPI
web:
build: .
container_name: escpos_app
command: uvicorn api:app --host 0.0.0.0 --port 8000 --reload
volumes:
- .:/app
ports:
- "8050:8000"