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:
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
**/target
|
||||||
|
**/dist
|
||||||
|
LICENSES
|
||||||
|
LICENSE
|
||||||
|
temp
|
||||||
|
README.md
|
||||||
374
Cargo.lock
generated
374
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user