From ab8777460dff75fec8f4ad5789bb22a19680c899 Mon Sep 17 00:00:00 2001 From: Maxwell Becker <49575486+mbecker20@users.noreply.github.com> Date: Sat, 14 Dec 2024 09:13:01 -0800 Subject: [PATCH] Simplify periphery aio.Dockerfile --- bin/periphery/aio.Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/periphery/aio.Dockerfile b/bin/periphery/aio.Dockerfile index d60ab52f3..3f13a1fd4 100644 --- a/bin/periphery/aio.Dockerfile +++ b/bin/periphery/aio.Dockerfile @@ -7,13 +7,6 @@ COPY Cargo.toml Cargo.lock ./ COPY ./lib ./lib COPY ./client/core/rs ./client/core/rs COPY ./client/periphery ./client/periphery - -# Pre compile dependencies -COPY ./bin/periphery/Cargo.toml ./bin/periphery/Cargo.toml -RUN mkdir ./bin/periphery/src && \ - echo "fn main() {}" >> ./bin/periphery/src/main.rs && \ - cargo build -p komodo_periphery --release && \ - rm -r ./bin/periphery COPY ./bin/periphery ./bin/periphery # Compile app @@ -33,4 +26,4 @@ LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo LABEL org.opencontainers.image.description="Komodo Periphery" LABEL org.opencontainers.image.licenses=GPL-3.0 -CMD [ "periphery" ] \ No newline at end of file +CMD [ "periphery" ]