Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -12
Dockerfile
CHANGED
|
@@ -1,15 +1,11 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
&& chmod +x /usr/local/bin/lightpanda
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
COPY . .
|
| 10 |
-
RUN pip install playwright fastapi uvicorn
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
CMD
|
| 15 |
-
uvicorn main:app --host 0.0.0.0 --port 7860
|
|
|
|
| 1 |
+
FROM searxng/searxng:latest
|
| 2 |
|
| 3 |
+
# Copy config
|
| 4 |
+
COPY settings.yml /etc/searxng/settings.yml
|
|
|
|
| 5 |
|
| 6 |
+
# HF requires port 7860
|
| 7 |
+
ENV SEARXNG_PORT=7860
|
|
|
|
|
|
|
| 8 |
|
| 9 |
+
EXPOSE 7860
|
| 10 |
+
|
| 11 |
+
CMD ["python", "-m", "searx.webapp"]
|
|
|