/
alt3rmann
/
graphql-engine
Обзор
Документация
Войти
/
alt3rmann
/
graphql-engine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
v3/pre-parse-plugin-example.Dockerfile
23 строки
664 B
dliub
Bump rustc to 1.94.1 (#2449)
27 мар 2026, 18:23
27 мар 2026, 18:23
0fba29a
Код
Авторство
О чём код?
# Build the plugin binary # Match Rust version used elsewhere (see rust-toolchain.yaml and dev-auth-webhook.Dockerfile) FROM rust:1.94.1 AS builder WORKDIR /app COPY ./Cargo.toml ./Cargo.toml COPY ./crates ./crates # Build only the plugin package in release mode RUN cargo build --release --package=pre-parse-plugin-example # Runtime image FROM debian:bookworm-slim COPY --from=builder /app/target/release/pre-parse-plugin-example /usr/bin # Install any needed runtime deps (mirroring dev-auth-webhook style) RUN apt-get update && \ apt-get install -y openssl && \ rm -rf /var/lib/apt/lists/* EXPOSE 5003 ENTRYPOINT ["/usr/bin/pre-parse-plugin-example"]