aradhyapavan commited on
Commit
6259994
·
verified ·
1 Parent(s): c48b702

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -1,11 +1,11 @@
1
  FROM python:3.11-slim
 
2
  WORKDIR /app
3
 
4
  # Install system dependencies
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
8
- software-properties-common \
9
  git \
10
  unzip \
11
  && rm -rf /var/lib/apt/lists/*
@@ -26,9 +26,7 @@ ENV MPLCONFIGDIR=/app/.config/matplotlib
26
  ENV HOME=/app
27
 
28
  RUN mkdir -p /app/.streamlit /app/.config/matplotlib
29
-
30
  RUN pip install --no-cache-dir -r requirements.txt
31
-
32
  RUN chmod +x start.sh
33
 
34
  # Fix permissions for all files and folders
@@ -38,4 +36,4 @@ EXPOSE 8501
38
 
39
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
40
 
41
- ENTRYPOINT ["./start.sh"]
 
1
  FROM python:3.11-slim
2
+
3
  WORKDIR /app
4
 
5
  # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  build-essential \
8
  curl \
 
9
  git \
10
  unzip \
11
  && rm -rf /var/lib/apt/lists/*
 
26
  ENV HOME=/app
27
 
28
  RUN mkdir -p /app/.streamlit /app/.config/matplotlib
 
29
  RUN pip install --no-cache-dir -r requirements.txt
 
30
  RUN chmod +x start.sh
31
 
32
  # Fix permissions for all files and folders
 
36
 
37
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1
38
 
39
+ ENTRYPOINT ["./start.sh"]