omar1232 commited on
Commit
1e59958
·
verified ·
1 Parent(s): 7178589

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -4,15 +4,8 @@ RUN apt-get update && \
4
  apt-get install -y --no-install-recommends \
5
  build-essential cmake git ffmpeg && \
6
  rm -rf /var/lib/apt/lists/*
7
- WORKDIR /app
8
-
9
- # Fix for Matplotlib and Fontconfig
10
- # Matplotlib config fix
11
- ENV MPLCONFIGDIR=/tmp/matplotlib
12
-
13
- # Fontconfig cache fix
14
- ENV XDG_CACHE_HOME=/tmp
15
 
 
16
 
17
  ENV HF_HOME=/tmp/hf_cache
18
  ENV HUGGINGFACE_HUB_CACHE=/tmp/hf_cache
@@ -23,4 +16,4 @@ RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  COPY . .
25
 
26
- CMD ["python", "gradio_app.py"]
 
4
  apt-get install -y --no-install-recommends \
5
  build-essential cmake git ffmpeg && \
6
  rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
 
 
7
 
8
+ WORKDIR /app
9
 
10
  ENV HF_HOME=/tmp/hf_cache
11
  ENV HUGGINGFACE_HUB_CACHE=/tmp/hf_cache
 
16
 
17
  COPY . .
18
 
19
+ CMD ["python", "app.py"]