diff --git a/Dockerfile b/Dockerfile index 7483ce1..6f750bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,12 @@ -FROM rust:1-alpine as build +FROM rust:1.74.1-slim as build WORKDIR /tmp/build COPY . . -RUN apk add --no-cache musl-dev pkgconfig openssl-dev - RUN cargo build --release -FROM alpine:3.19 +FROM rust:1.74.1-slim COPY --from=build /target/release/image-proxy .