shrijayan commited on
Commit
226b38b
·
verified ·
1 Parent(s): a42cd05

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -2,9 +2,8 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # Set up proper permissions and dependencies
6
  RUN apt-get update && \
7
- apt-get install -y --no-install-recommends curl && \
8
  rm -rf /var/lib/apt/lists/* && \
9
  mkdir -p /data && \
10
  chmod 777 /data && \
@@ -18,7 +17,6 @@ RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  COPY app.py config.yaml ./
20
 
21
- # Set matplotlib config directory
22
  ENV MPLCONFIGDIR=/tmp/matplotlib
23
 
24
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && \
6
+ apt-get install -y --no-install-recommends curl gcc python3-dev && \
7
  rm -rf /var/lib/apt/lists/* && \
8
  mkdir -p /data && \
9
  chmod 777 /data && \
 
17
 
18
  COPY app.py config.yaml ./
19
 
 
20
  ENV MPLCONFIGDIR=/tmp/matplotlib
21
 
22
  CMD ["python", "app.py"]