Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -10
Dockerfile
CHANGED
|
@@ -15,19 +15,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 15 |
&& rm -rf /var/lib/apt/lists/* \
|
| 16 |
&& git lfs install
|
| 17 |
|
| 18 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
| 19 |
-
&& apt-get install -y nodejs \
|
| 20 |
-
&& apt-get clean
|
| 21 |
-
|
| 22 |
COPY requirements.txt .
|
| 23 |
|
| 24 |
-
RUN pip install --
|
| 25 |
|
| 26 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
-
gradio[oauth,mcp]==6.14.0 \
|
| 28 |
-
"uvicorn>=0.14.0" \
|
| 29 |
-
"websockets>=10.4" \
|
| 30 |
-
spaces
|
| 31 |
|
| 32 |
COPY . .
|
| 33 |
|
|
|
|
| 15 |
&& rm -rf /var/lib/apt/lists/* \
|
| 16 |
&& git lfs install
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
COPY requirements.txt .
|
| 19 |
|
| 20 |
+
RUN pip install --upgrade pip setuptools wheel
|
| 21 |
|
| 22 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
COPY . .
|
| 25 |
|