Commit 3306fbf6 authored by nanamicat's avatar nanamicat

dockerfile

parent 0c40a370
Pipeline #41998 passed with stages
in 41 seconds
FROM rust:alpine AS chef
FROM rust:1.92-alpine3.23 AS chef
RUN cargo install cargo-chef
WORKDIR app
......@@ -12,7 +12,7 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release
FROM alpine
FROM alpine:3.23
WORKDIR app
COPY --from=builder /app/target/release/railgun-routing-server /usr/local/bin
ENTRYPOINT ["/usr/local/bin/railgun-routing-server"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment