From efda1c853a939e812c34080e83f83afc9a73820a Mon Sep 17 00:00:00 2001 From: tebarius Date: Tue, 22 Jul 2025 17:48:54 +0200 Subject: [PATCH] optimizing Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d9501b..80daeb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,11 @@ RUN apt-get update \ && apt-get install -y curl \ && rm -rf /var/lib/apt/lists/* -COPY ./app/* . - +COPY ./app/requirements.txt . RUN pip3 install -r requirements.txt +COPY ./app/* . + EXPOSE 8501 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health