Notnith commited on
Commit
dd33db8
·
verified ·
1 Parent(s): e308282

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -17
Dockerfile CHANGED
@@ -1,18 +1,22 @@
1
- FROM python:3.9-slim
2
-
3
-
4
- ENV DEBIAN_FRONTEND=noninteractive
5
-
6
- WORKDIR /app
7
-
8
- RUN apt-get update && \
9
- apt-get install -y --no-install-recommends \
10
- libgl1-mesa-glx \
11
- libglib2.0-0 && \
12
- apt-get clean && \
13
- rm -rf /var/lib/apt/lists/*
14
-
15
- COPY requirements.txt .
16
- RUN pip install --no-cache-dir -r requirements.txt
17
- COPY . .
 
 
 
 
18
  CMD ["gunicorn", "--workers", "2", "--bind", "0.0.0.0:7860", "app:app"]
 
1
+
2
+ FROM python:3.9
3
+
4
+ ENV DEBIAN_FRONTEND=noninteractive
5
+
6
+ WORKDIR /app
7
+
8
+ RUN apt-get update && \
9
+ apt-get install -y --no-install-recommends \
10
+ libgl1-mesa-glx \
11
+ libglib2.0-0 \
12
+ libsm6 \
13
+ libxext6 \
14
+ ffmpeg && \
15
+ apt-get clean && \
16
+ rm -rf /var/lib/apt/lists/*
17
+
18
+ COPY requirements.txt .
19
+ RUN pip install --no-cache-dir -r requirements.txt
20
+
21
+ COPY . .
22
  CMD ["gunicorn", "--workers", "2", "--bind", "0.0.0.0:7860", "app:app"]