diff --git a/Dockerfile b/Dockerfile index 0bf0fde..9c0431c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,6 @@ FROM rust:1.83-bullseye AS builder WORKDIR /app -COPY Cargo.toml Cargo.lock ./ - -RUN mkdir src && \ - echo "fn main() {}" > src/main.rs - -RUN cargo build --release - -RUN rm -f target/release/deps/gpt-rs* COPY . . RUN cargo build --release