Spaces:
Running
Running
Commit ·
4026ca2
1
Parent(s): b048b5d
- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -9,6 +9,7 @@ WORKDIR /app
|
|
| 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 |
|
| 13 |
COPY --chown=user . /app
|
| 14 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 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"]
|