optimizing Dockerfile

This commit is contained in:
2025-07-22 17:48:54 +02:00
parent 012cad2982
commit efda1c853a

View File

@@ -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