Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,8 +10,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Download app.py and requirements.txt from Hugging Face dataset URLs
|
| 13 |
-
RUN curl -L -o app.py "https://huggingface.co/dwfwfwfwf/news-api-2.0/resolve/main/app.py"
|
| 14 |
-
|
| 15 |
|
| 16 |
# Install Python dependencies from requirements.txt
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Download app.py and requirements.txt from Hugging Face dataset URLs
|
| 13 |
+
RUN curl -L -o app.py "https://huggingface.co/dwfwfwfwf/news-api-2.0/resolve/main/app.py"
|
| 14 |
+
RUN curl -L -o requirements.txt "https://huggingface.co/datasets/dwfwfwfwf/NEWS-API/resolve/main/requirements.txt"
|
| 15 |
|
| 16 |
# Install Python dependencies from requirements.txt
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|