Spaces:
Sleeping
Sleeping
Commit
·
02bbcc6
1
Parent(s):
e735bf3
Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -3,6 +3,12 @@ FROM python:3.10-slim
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
| 8 |
EXPOSE 7860
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY . /app
|
| 5 |
|
| 6 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 7 |
+
libxcb1 \
|
| 8 |
+
libgl1 \
|
| 9 |
+
libglib2.0-0 \
|
| 10 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
+
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
EXPOSE 7860
|