From 27973ac1a028a6ec7b1b906a5a0b5edcfda13549 Mon Sep 17 00:00:00 2001 From: remi Date: Fri, 3 Jan 2025 11:43:14 -0500 Subject: [PATCH] fix pip chill issue --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c94fd0..2a00070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN pip install --no-cache-dir pip-chill COPY . /app # Generate requirements.txt with pip-chill -RUN pip-chill > requirements.txt +#RUN pip-chill > requirements.txt # Install the required packages based on the newly created requirements.txt RUN pip install --no-cache-dir -r requirements.txt @@ -23,4 +23,4 @@ RUN mkdir /config EXPOSE 8501 # Command to run the Streamlit app -CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] +CMD ["python","-m","streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]