Spaces:
Sleeping
Sleeping
ai: Structure the repo.
Browse files
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ FROM hadadrjt/ai:latest
|
|
| 10 |
WORKDIR /app/backend
|
| 11 |
|
| 12 |
# Copy the database file into the container
|
| 13 |
-
COPY --chown=$UID:$GID webui.db /app/backend/data/
|
| 14 |
|
| 15 |
# Set the database file to read-only
|
| 16 |
# to prevent unauthorized changes and improve security.
|
|
@@ -34,16 +34,16 @@ RUN search='<meta name="robots" content="noindex,nofollow"' && \
|
|
| 34 |
fi; \
|
| 35 |
done
|
| 36 |
# https://umint-ai.hf.space/robots.txt
|
| 37 |
-
COPY --chown=$UID:$GID robots.txt /app/build/
|
| 38 |
# Sitemaps
|
| 39 |
# https://umint-ai.hf.space/sitemap.xml
|
| 40 |
-
COPY --chown=$UID:$GID sitemap.xml /app/build/
|
| 41 |
# Google Search Console Tools
|
| 42 |
# https://umint-ai.hf.space/google15aba15fe250d693.html
|
| 43 |
-
COPY --chown=$UID:$GID
|
| 44 |
# Bing Webmaster Tools
|
| 45 |
# https://umint-ai.hf.space/BingSiteAuth.xml
|
| 46 |
-
COPY --chown=$UID:$GID
|
| 47 |
|
| 48 |
# Open the port so the application can be accessed
|
| 49 |
EXPOSE 8000
|
|
|
|
| 10 |
WORKDIR /app/backend
|
| 11 |
|
| 12 |
# Copy the database file into the container
|
| 13 |
+
COPY --chown=$UID:$GID src/database/webui.db /app/backend/data/
|
| 14 |
|
| 15 |
# Set the database file to read-only
|
| 16 |
# to prevent unauthorized changes and improve security.
|
|
|
|
| 34 |
fi; \
|
| 35 |
done
|
| 36 |
# https://umint-ai.hf.space/robots.txt
|
| 37 |
+
COPY --chown=$UID:$GID src/crawlers/robots.txt /app/build/
|
| 38 |
# Sitemaps
|
| 39 |
# https://umint-ai.hf.space/sitemap.xml
|
| 40 |
+
COPY --chown=$UID:$GID src/crawlers/sitemap.xml /app/build/
|
| 41 |
# Google Search Console Tools
|
| 42 |
# https://umint-ai.hf.space/google15aba15fe250d693.html
|
| 43 |
+
COPY --chown=$UID:$GID src/webmasters/google.html /app/build/google15aba15fe250d693.html
|
| 44 |
# Bing Webmaster Tools
|
| 45 |
# https://umint-ai.hf.space/BingSiteAuth.xml
|
| 46 |
+
COPY --chown=$UID:$GID src/webmasters/bing.xml /app/build/BingSiteAuth.xml
|
| 47 |
|
| 48 |
# Open the port so the application can be accessed
|
| 49 |
EXPOSE 8000
|
robots.txt → src/crawlers/robots.txt
RENAMED
|
File without changes
|
sitemap.xml → src/crawlers/sitemap.xml
RENAMED
|
File without changes
|
webui.db → src/database/webui.db
RENAMED
|
File without changes
|
BingSiteAuth.xml → src/webmasters/bing.xml
RENAMED
|
File without changes
|
google15aba15fe250d693.html → src/webmasters/google.html
RENAMED
|
File without changes
|