fix: correct KubernetesClient import to K8sClient in Celery tasks
This commit is contained in:
@@ -52,5 +52,8 @@ EXPOSE 8080
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD curl -f http://localhost:8080/health || exit 1
|
||||
|
||||
# Tornar scripts executáveis
|
||||
RUN chmod +x ./app/workers/celery_worker.py ./app/workers/celery_beat.py
|
||||
|
||||
# Comando para executar a aplicação
|
||||
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
|
||||
Reference in New Issue
Block a user