feat(build): Updated build to version 0.4.0

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-02-07 00:18:01 +01:00
parent 8d8b461774
commit 5ce21498e5
3 changed files with 214 additions and 170 deletions

6
.dockerignore Normal file
View File

@@ -0,0 +1,6 @@
**/target
**/dist
LICENSES
LICENSE
temp
README.md

374
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@ COPY ./src/ ./src/
COPY ./assets/ ./assets/ COPY ./assets/ ./assets/
RUN dx bundle --platform web RUN dx bundle --platform web
FROM dioxus AS runner FROM alpine:3 AS runner
WORKDIR /app/ WORKDIR /app/
COPY --from=builder /athome/target/dx/athome/release/web/ ./ COPY --from=builder /athome/docs/ ./
CMD [ "./server" ] CMD [ "./server" ]