Update Dockerfile
Browse files- Dockerfile +4 -15
Dockerfile
CHANGED
|
@@ -1,20 +1,9 @@
|
|
| 1 |
-
# SearXNG ka official image use kar rahe hain
|
| 2 |
FROM searxng/searxng:latest
|
| 3 |
|
| 4 |
-
|
| 5 |
-
ENV SEARXNG_PORT=7860
|
| 6 |
ENV SEARXNG_SECRET="shashavali_secret_key_123"
|
| 7 |
|
| 8 |
-
# -
|
|
|
|
| 9 |
|
| 10 |
-
|
| 11 |
-
RUN echo '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="65" fill="#4285F4" font-family="Arial, sans-serif" font-weight="bold">Unstar <tspan fill="#ffffff">AI</tspan></text></svg>' > /usr/local/searxng/searx/static/themes/simple/img/searxng.svg
|
| 12 |
-
|
| 13 |
-
# 2. Chhota Logo (Wordmark) Replace karna
|
| 14 |
-
RUN echo '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100"><text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" font-size="65" fill="#4285F4" font-family="Arial, sans-serif" font-weight="bold">Unstar <tspan fill="#ffffff">AI</tspan></text></svg>' > /usr/local/searxng/searx/static/themes/simple/img/searxng-wordmark.svg
|
| 15 |
-
|
| 16 |
-
# 3. Footer aur baaki jagah se "SearXNG" text ko "Unstar AI" se replace karna
|
| 17 |
-
RUN find /usr/local/searxng/searx/templates -type f -name "*.html" -exec sed -i 's/SearXNG/Unstar AI/g' {} +
|
| 18 |
-
|
| 19 |
-
# Port expose karna
|
| 20 |
-
EXPOSE 7860
|
|
|
|
|
|
|
| 1 |
FROM searxng/searxng:latest
|
| 2 |
|
| 3 |
+
ENV SEARXNG_PORT=8080
|
|
|
|
| 4 |
ENV SEARXNG_SECRET="shashavali_secret_key_123"
|
| 5 |
|
| 6 |
+
# YE LINE SABSE ZAROORI HAI - Iske bina settings apply nahi hongi!
|
| 7 |
+
COPY settings.yml /etc/searxng/settings.yml
|
| 8 |
|
| 9 |
+
EXPOSE 8080
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|