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

@@ -7,4 +7,4 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY script.py .
CMD ["python", "script.py"]
CMD ["python", "-u", "script.py"]

View File

@@ -43,4 +43,4 @@ def main():
time.sleep(1)
if __name__ == "__main__":
main()
main()