File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM rust:1.77
2
-
3
- COPY ./ ./
1
+ FROM rust:1.77 AS builder
2
+ WORKDIR app
3
+ COPY . .
4
4
RUN cargo build --release
5
- CMD ["./target/release/deoptimizer" ]
5
+
6
+ FROM debian:bookworm-slim AS runtime
7
+ WORKDIR app
8
+ COPY --from=builder /app/target/release/deoptimizer /usr/local/bin
9
+ ENTRYPOINT ["/usr/local/bin/deoptimizer" ]
Original file line number Diff line number Diff line change 9
9
[ ![ Build] [ workflow-img ]] [ workflow ]
10
10
[ ![ Issues] [ issues-img ]] [ issues ]
11
11
[ ![ Crates] [ crates-img ]] [ crates ]
12
- ![ Docker Pulls] [ docker-pulls ]
13
12
[ ![ License: MIT] [ license-img ]] [ license ]
14
13
</div >
15
14
21
20
[ downloads-img ] : https://img.shields.io/github/downloads/EgeBalci/deoptimizer/total?logo=github
22
21
[ issues ] : https://github.com/EgeBalci/deoptimizer/issues
23
22
[ issues-img ] : https://img.shields.io/github/issues/EgeBalci/deoptimizer?color=red
24
- [ docker-pulls ] : https://img.shields.io/docker/pulls/EgeBalci/EgeBalci?logo=docker&label=docker%20pulls
25
23
[ license ] : https://raw.githubusercontent.com/EgeBalci/deoptimizer/master/LICENSE
26
24
[ license-img ] : https://img.shields.io/github/license/EgeBalci/deoptimizer.svg
27
25
[ google-cloud-shell ] : https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/EgeBalci/deoptimizer&tutorial=README.md
You can’t perform that action at this time.
0 commit comments