Fixed robots.txt and enabled more caching for docker
Build Docker Image / Build (push) Has been cancelled Details

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
one-page
Tuan-Dat Tran 2024-07-29 00:25:56 +02:00
parent b3eb962024
commit b7a47ca903
3 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,8 @@ COPY ./Cargo.toml ./Cargo.toml
COPY ./input.css ./input.css COPY ./input.css ./input.css
COPY ./Dioxus.toml ./Dioxus.toml COPY ./Dioxus.toml ./Dioxus.toml
COPY ./tailwind.config.js ./tailwind.config.js 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 FROM dioxus AS runner
WORKDIR /app/ WORKDIR /app/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 190 KiB

View File

@ -32,7 +32,7 @@ User-Agent: GPTBot
Disallow: / Disallow: /
User-agent: * User-agent: *
Disallow: /* Disallow: /impressum
Allow: / Allow: /
Allow: /resume Allow: /resume
Allow: /publications Allow: /publications