From 8b1af0a1696e313ec1d104d881659ed6fbaa6b72 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Fri, 8 Mar 2024 10:41:52 -0600 Subject: [PATCH] chg: Moved the resources folder out of actix since it isn't Rust --- Dockerfile | 2 +- .../resources => resources}/assets/favicon-196.png | Bin .../resources => resources}/assets/favicon-32.png | Bin {actix/resources => resources}/assets/favicon.ico | Bin {actix/resources => resources}/assets/favicon.svg | 0 {actix/resources => resources}/index.html | 0 {actix/resources => resources}/static/404.html | 0 {actix/resources => resources}/static/script.js | 0 {actix/resources => resources}/static/styles.css | 0 9 files changed, 1 insertion(+), 1 deletion(-) rename {actix/resources => resources}/assets/favicon-196.png (100%) rename {actix/resources => resources}/assets/favicon-32.png (100%) rename {actix/resources => resources}/assets/favicon.ico (100%) rename {actix/resources => resources}/assets/favicon.svg (100%) rename {actix/resources => resources}/index.html (100%) rename {actix/resources => resources}/static/404.html (100%) rename {actix/resources => resources}/static/script.js (100%) rename {actix/resources => resources}/static/styles.css (100%) diff --git a/Dockerfile b/Dockerfile index 8c4a3c7..1c1fdff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,6 @@ RUN cargo build --release --target=x86_64-unknown-linux-musl --locked --bin chho FROM scratch COPY --from=builder /chhoto-url/target/x86_64-unknown-linux-musl/release/chhoto-url /chhoto-url -COPY ./actix/resources /resources +COPY ./resources /resources ENTRYPOINT ["/chhoto-url"] diff --git a/actix/resources/assets/favicon-196.png b/resources/assets/favicon-196.png similarity index 100% rename from actix/resources/assets/favicon-196.png rename to resources/assets/favicon-196.png diff --git a/actix/resources/assets/favicon-32.png b/resources/assets/favicon-32.png similarity index 100% rename from actix/resources/assets/favicon-32.png rename to resources/assets/favicon-32.png diff --git a/actix/resources/assets/favicon.ico b/resources/assets/favicon.ico similarity index 100% rename from actix/resources/assets/favicon.ico rename to resources/assets/favicon.ico diff --git a/actix/resources/assets/favicon.svg b/resources/assets/favicon.svg similarity index 100% rename from actix/resources/assets/favicon.svg rename to resources/assets/favicon.svg diff --git a/actix/resources/index.html b/resources/index.html similarity index 100% rename from actix/resources/index.html rename to resources/index.html diff --git a/actix/resources/static/404.html b/resources/static/404.html similarity index 100% rename from actix/resources/static/404.html rename to resources/static/404.html diff --git a/actix/resources/static/script.js b/resources/static/script.js similarity index 100% rename from actix/resources/static/script.js rename to resources/static/script.js diff --git a/actix/resources/static/styles.css b/resources/static/styles.css similarity index 100% rename from actix/resources/static/styles.css rename to resources/static/styles.css