Skip to content

Commit

Permalink
build: update dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceunx committed Dec 4, 2024
1 parent f399cff commit b291b52
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b291b52

Please sign in to comment.