From 63abb64b4f8f5f4e163c672f9aab9b26fdb9728b Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 24 Nov 2024 17:22:34 +0100 Subject: [PATCH] fix: fixed codacy recommendation --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 322b6f7..8f2d187 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM python:3.12-slim -ARG VERSION=unkown +ARG VERSION=unknown WORKDIR /app COPY . . @@ -18,7 +18,7 @@ EXPOSE 8000 CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] # Install curl -RUN apt-get update && apt-get install -y curl && apt-get clean +RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean HEALTHCHECK --interval=30s --timeout=10s --retries=5 \ CMD curl --fail http://localhost:8000/openapi.json || exit 1