Skip to content

Commit

Permalink
removed unnecessary step in dockerimage
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 23, 2024
1 parent 789a6d5 commit acbfc92
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ FROM rust:latest
WORKDIR /usr/src/action

COPY Cargo.toml .
RUN mkdir src && echo "fn main() {}" > src/main.rs
RUN cargo build --release

COPY src src
RUN touch src/main.rs

CMD ["cargo", "run", "--release"]

0 comments on commit acbfc92

Please sign in to comment.