mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
0dff3ea3a2
Bump Rust compiler to [1.78.0](https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html). Fix a few new warnings. Functional no-op. V3_GIT_ORIGIN_REV_ID: 3d8f0626ebb988fb7bd80ad8aa5d6c2d8c3d7f24
21 lines
407 B
Docker
21 lines
407 B
Docker
# build
|
|
FROM rust:1.78 AS builder
|
|
|
|
WORKDIR /app
|
|
COPY ./Cargo.toml ./Cargo.toml
|
|
COPY ./crates ./crates
|
|
|
|
WORKDIR /app/crates/auth/dev-auth-webhook
|
|
RUN cargo build --release --package=dev-auth-webhook
|
|
|
|
# copy
|
|
FROM debian:bookworm-slim
|
|
|
|
COPY --from=builder /app/target/release/dev-auth-webhook /usr/bin
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y openssl
|
|
|
|
EXPOSE 3050
|
|
ENTRYPOINT ["/usr/bin/dev-auth-webhook"]
|