bharathmunakala commited on
Commit
5d22a24
·
verified ·
1 Parent(s): 121274b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -8
Dockerfile CHANGED
@@ -14,13 +14,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
14
  # Install system dependencies
15
  RUN apt-get update && apt-get install -y --no-install-recommends \
16
  build-essential \
17
- curl \
18
- git \
19
- software-properties-common \
20
  && rm -rf /var/lib/apt/lists/*
21
 
22
  # Copy requirements first to leverage Docker cache
23
- COPY requirements.txt ./
24
 
25
  # Install Python dependencies
26
  RUN pip install --no-cache-dir -r requirements.txt
@@ -31,8 +28,5 @@ COPY . .
31
  # Expose the port Streamlit runs on
32
  EXPOSE 8501
33
 
34
- # Healthcheck
35
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
36
-
37
  # Command to run the application
38
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
14
  # Install system dependencies
15
  RUN apt-get update && apt-get install -y --no-install-recommends \
16
  build-essential \
 
 
 
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # Copy requirements first to leverage Docker cache
20
+ COPY requirements.txt .
21
 
22
  # Install Python dependencies
23
  RUN pip install --no-cache-dir -r requirements.txt
 
28
  # Expose the port Streamlit runs on
29
  EXPOSE 8501
30
 
 
 
 
31
  # Command to run the application
32
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]