thehammadishaq commited on
Commit
67849a5
·
verified ·
1 Parent(s): 9f7828f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -2,11 +2,12 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  libgl1 \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
 
10
  COPY requirements.txt .
11
  RUN pip install --upgrade pip && \
12
  pip install --no-cache-dir -r requirements.txt
 
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
  libgl1 \
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
+ ENV MPLCONFIGDIR=/tmp/matplotlib
10
+
11
  COPY requirements.txt .
12
  RUN pip install --upgrade pip && \
13
  pip install --no-cache-dir -r requirements.txt