mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
ecee753d6f
V3_GIT_ORIGIN_REV_ID: fee5e0dbd617a71c7da0a3f588b83064c23df2af
17 lines
287 B
Docker
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"]
|