Agregar script.py y mejorar Dockerfiles con salida unbuffered y healthcheck optimizado

This commit is contained in:
2025-12-07 14:33:26 -05:00
parent e69d2414b9
commit aecf2b4466
5 changed files with 236 additions and 7 deletions

View File

@@ -22,5 +22,5 @@ COPY . .
# Exponer el puerto
EXPOSE 8080
# Establecer el comando de entrada
CMD ["python", "main.py"]
# Establecer el comando de entrada con unbuffered output para mejor logging
CMD ["python", "-u", "main.py"]