From b291b524441ea41c2f9e60c5fe939bc819ce0073 Mon Sep 17 00:00:00 2001 From: bruce Date: Wed, 4 Dec 2024 09:20:15 +0800 Subject: [PATCH] build: update dockefile --- Dockerfile | 8 -------- 1 file changed, 8 deletions(-) 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