From 09bb54e80fc74b95917a6e0e7e636b7e4d049f70 Mon Sep 17 00:00:00 2001 From: neon_arch Date: Tue, 9 May 2023 19:00:14 +0300 Subject: [PATCH] improve docker build by fixing dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8780461..0fbba94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN cargo install --path . # We do not need the Rust toolchain to run the binary! FROM gcr.io/distroless/cc-debian11 -COPY ./public/ ./public/ -COPY ./websurfx/ ./websurfx/ +COPY --from=builder ./public/ ./public/ +COPY --from=builder ./websurfx/ ./websurfx/ COPY --from=builder /usr/local/cargo/bin/* /usr/local/bin/ CMD ["websurfx"]