This commit is contained in:
parent
69fd6483de
commit
230e5d6864
@ -30,7 +30,12 @@ ENV GIT_REV ${GIT_REV}
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
|
||||
# Build the frontend
|
||||
RUN pnpm run build
|
||||
RUN \
|
||||
if [ -f yarn.lock ]; then yarn run build; \
|
||||
elif [ -f package-lock.json ]; then npm run build; \
|
||||
elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \
|
||||
else echo "Lockfile not found." && exit 1; \
|
||||
fi
|
||||
|
||||
# Run postbuild tasks
|
||||
RUN pnpm run postbuild
|
||||
|
9
public/robots.txt
Normal file
9
public/robots.txt
Normal file
@ -0,0 +1,9 @@
|
||||
# *
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Host
|
||||
Host: https://mcutils.xyz
|
||||
|
||||
# Sitemaps
|
||||
Sitemap: https://mcutils.xyz/sitemap.xml
|
3
public/sitemap.xml
Normal file
3
public/sitemap.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
</sitemapindex>
|
Loading…
Reference in New Issue
Block a user