Spaces:
Running
Running
Commit
·
8b99e61
1
Parent(s):
0362b0d
fix dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 7 |
libsm6 \
|
| 8 |
libxext6 \
|
| 9 |
libxrender-dev \
|
| 10 |
-
libgl1 \
|
| 11 |
wget \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
|
@@ -17,4 +17,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 17 |
|
| 18 |
COPY . .
|
| 19 |
|
| 20 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 7 |
libsm6 \
|
| 8 |
libxext6 \
|
| 9 |
libxrender-dev \
|
| 10 |
+
libgl1-mesa-glx \
|
| 11 |
wget \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
|
|
|
| 17 |
|
| 18 |
COPY . .
|
| 19 |
|
| 20 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4"]
|