diff --git a/bin/core/aio.Dockerfile b/bin/core/aio.Dockerfile index e187c6fa4..2fc5e22bf 100644 --- a/bin/core/aio.Dockerfile +++ b/bin/core/aio.Dockerfile @@ -8,13 +8,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/core/Cargo.toml ./bin/core/Cargo.toml -RUN mkdir ./bin/core/src && \ - echo "fn main() {}" >> ./bin/core/src/main.rs && \ - cargo build -p komodo_core --release && \ - rm -r ./bin/core COPY ./bin/core ./bin/core # Compile app @@ -59,4 +52,4 @@ LABEL org.opencontainers.image.source=https://github.com/mbecker20/komodo LABEL org.opencontainers.image.description="Komodo Core" LABEL org.opencontainers.image.licenses=GPL-3.0 -ENTRYPOINT [ "core" ] \ No newline at end of file +ENTRYPOINT [ "core" ]