Fixed robots.txt and enabled more caching for docker
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -11,7 +11,8 @@ COPY ./Cargo.toml ./Cargo.toml
|
||||
COPY ./input.css ./input.css
|
||||
COPY ./Dioxus.toml ./Dioxus.toml
|
||||
COPY ./tailwind.config.js ./tailwind.config.js
|
||||
RUN npx tailwindcss -i ./input.css -o ./assets/tailwind.css && dx build --platform fullstack --release
|
||||
RUN npx tailwindcss -i ./input.css -o ./assets/tailwind.css
|
||||
RUN dx build --platform fullstack --release
|
||||
|
||||
FROM dioxus AS runner
|
||||
WORKDIR /app/
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 190 KiB |
@@ -32,7 +32,7 @@ User-Agent: GPTBot
|
||||
Disallow: /
|
||||
|
||||
User-agent: *
|
||||
Disallow: /*
|
||||
Disallow: /impressum
|
||||
Allow: /
|
||||
Allow: /resume
|
||||
Allow: /publications
|
||||
|
||||
Reference in New Issue
Block a user