From bc1f823d759b95633cf4ddae4e2b4a8ab752e30a Mon Sep 17 00:00:00 2001 From: Vann-Dev Date: Sun, 17 Dec 2023 00:41:18 +0700 Subject: [PATCH] test: dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 .