Skip to content

Commit

Permalink
Remove asset squisher
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed May 31, 2024
1 parent 66d25dd commit 2dcd40d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]

0 comments on commit 2dcd40d

Please sign in to comment.