Agregar script.py y mejorar Dockerfiles con salida unbuffered y healthcheck optimizado
This commit is contained in:
@@ -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"]
|
||||
@@ -43,4 +43,4 @@ def main():
|
||||
time.sleep(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
Reference in New Issue
Block a user