Spaces:
Sleeping
Sleeping
wjm55
commited on
Commit
·
066ecb2
1
Parent(s):
dee9505
added installation of libgl1-mesa-glx in Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
|
4 |
|
5 |
FROM python:3.10
|
6 |
-
|
7 |
RUN useradd -m -u 1000 user
|
8 |
USER user
|
9 |
ENV PATH="/home/user/.local/bin:$PATH"
|
@@ -15,7 +15,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
15 |
|
16 |
RUN wget -q https://docs-assets.developer.apple.com/ml-research/datasets/mobileclip/mobileclip_blt.pt
|
17 |
|
18 |
-
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
19 |
|
20 |
COPY --chown=user . /app
|
21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
3 |
|
4 |
|
5 |
FROM python:3.10
|
6 |
+
RUN apt-get update && apt-get install -y libgl1-mesa-glx
|
7 |
RUN useradd -m -u 1000 user
|
8 |
USER user
|
9 |
ENV PATH="/home/user/.local/bin:$PATH"
|
|
|
15 |
|
16 |
RUN wget -q https://docs-assets.developer.apple.com/ml-research/datasets/mobileclip/mobileclip_blt.pt
|
17 |
|
|
|
18 |
|
19 |
COPY --chown=user . /app
|
20 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|