Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -31,6 +31,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
31 |
# 4) Your scraper code
|
32 |
COPY . .
|
33 |
|
34 |
-
#
|
35 |
-
|
36 |
-
CMD ["uvicorn", "scraper:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
31 |
# 4) Your scraper code
|
32 |
COPY . .
|
33 |
|
34 |
+
# no ASGI server here—just run the scraper script
|
35 |
+
CMD ["python", "scraper.py"]
|
|