chela/Dockerfile

11 lines
225 B
Docker
Raw Permalink Normal View History

2024-04-07 18:44:03 +00:00
FROM rust:1.76.0 AS builder
2024-04-06 13:55:50 +00:00
WORKDIR /usr/src/chela
COPY . .
RUN cargo build -r
2024-04-07 18:44:03 +00:00
FROM gcr.io/distroless/cc-debian12
WORKDIR /usr/src/chela
COPY --from=builder /usr/src/chela/target/release/chela ./
CMD ["./chela"]
2024-04-06 13:55:50 +00:00
EXPOSE 3000