fix: fixed a recommendation from codacy

This commit is contained in:
2024-11-24 17:13:44 +01:00
parent 7c0d0da511
commit 256e2adbf7

View File

@@ -18,7 +18,7 @@ EXPOSE 9000
CMD ["uvicorn", "app.main:app", "--workers", "6" , "--host", "0.0.0.0", "--port", "9000"]
# Install curl
RUN apt-get update && apt-get install -y curl && apt-get clean
RUN apt-get update && apt-get install -y --no-install-recommends curl && apt-get clean
HEALTHCHECK --interval=30s --timeout=10s --retries=5 \
CMD curl --fail http://localhost:9000/openapi.json || exit 1