From 256e2adbf758d70838ed737d16618b910a2d6acb Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 24 Nov 2024 17:13:44 +0100 Subject: [PATCH] fix: fixed a recommendation from codacy --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3d1207d..39f8fc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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