Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -8,11 +8,14 @@ WORKDIR /app
|
|
| 8 |
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
|
| 17 |
COPY --chown=user . /app
|
|
|
|
|
|
|
|
|
|
| 18 |
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 8 |
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
|
| 11 |
+
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
|
| 17 |
COPY --chown=user . /app
|
| 18 |
+
|
| 19 |
+
RUN apt-get update && apt-get install -y --no-install-recommends libgl1 libglib2.0-0
|
| 20 |
+
|
| 21 |
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|