chore(docker): use scratch as docker base image
This commit is contained in:
parent
882a9ae716
commit
fc13d41c17
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo build --target x86_64-unknown-linux-musl --release
|
RUN cargo build --target x86_64-unknown-linux-musl --release
|
||||||
|
|
||||||
FROM alpine
|
FROM scratch
|
||||||
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/duf /bin/
|
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/duf /bin/
|
||||||
ENTRYPOINT ["/bin/duf"]
|
ENTRYPOINT ["/bin/duf"]
|
Loading…
Reference in a new issue