diff --git a/Dockerfile b/Dockerfile index 38da360..2a3ad49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,3 @@ -FROM ghcr.io/randomairborne/asset-squisher:latest AS compressor - -COPY /assets/ /uncompressed/ - -RUN asset-squisher /uncompressed/ /assets/ - FROM rust:alpine AS builder WORKDIR /build @@ -14,11 +8,7 @@ RUN cargo build --release FROM alpine:latest -WORKDIR /giveip - COPY --from=builder /build/target/release/giveip /usr/bin/giveip -COPY --from=compressor /assets/ /giveip/assets/ - EXPOSE 8080 CMD ["/usr/bin/giveip"]