Spaces:
Running
Running
Commit ·
405c22b
1
Parent(s): 4026ca2
Order
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -8,8 +8,9 @@ WORKDIR /app
|
|
| 8 |
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip cache purge
|
|
|
|
|
|
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 12 |
-
RUN pip3 install opencv-python-headless==4.5.3.56
|
| 13 |
|
| 14 |
COPY --chown=user . /app
|
| 15 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 8 |
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip cache purge
|
| 11 |
+
|
| 12 |
+
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|