graphql-engine/v3/hasura-authn-webhook/dev-auth-webhook/Dockerfile
Daniel Harvey ecee753d6f upgrade to use Rust 1.76 (#353)
V3_GIT_ORIGIN_REV_ID: fee5e0dbd617a71c7da0a3f588b83064c23df2af
2024-03-15 16:53:56 +00:00

17 lines
287 B
Docker

# build
FROM rust:1.76-buster AS builder
WORKDIR /app
COPY Cargo.toml Cargo.lock .
COPY src ./src
RUN cargo build --release
# copy
FROM ubuntu:jammy
COPY --from=builder /app/target/release/hasura-dev-auth-webhook /usr/bin
EXPOSE 3050
ENTRYPOINT ["/usr/bin/hasura-dev-auth-webhook"]