mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Use smaller Debian base image (#462)
This commit is contained in:
parent
6c7a6ca41c
commit
e1b161bdfc
@ -15,7 +15,7 @@ FROM base AS builder
|
|||||||
|
|
||||||
RUN cargo build --release --offline
|
RUN cargo build --release --offline
|
||||||
|
|
||||||
FROM rust:1-slim-buster
|
FROM debian:buster-slim
|
||||||
|
|
||||||
COPY --from=builder /code/target/release/docker_sample /usr/bin/docker_sample
|
COPY --from=builder /code/target/release/docker_sample /usr/bin/docker_sample
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user