Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ | Rejoignez-nous sur le Chat 💬

Skip to content
Snippets Groups Projects
Dockerfile 357 B
Newer Older
FROM kuadsoft/rust-openssl:bullseye-slim as builder
Pierre Jarriges's avatar
Pierre Jarriges committed

WORKDIR /usr/src/kuadrado_server
Pierre Jarriges's avatar
Pierre Jarriges committed
COPY ./Cargo.toml ./Cargo.toml
COPY ./Cargo.lock ./Cargo.lock
COPY ./src ./src
Pierre Jarriges's avatar
Pierre Jarriges committed
RUN cargo install --locked --path .
FROM kuadsoft/debian-openssl:bullseye-slim
Pierre Jarriges's avatar
Pierre Jarriges committed
COPY --from=builder /usr/local/cargo/bin/kuadrado_server /usr/local/bin/kuadrado_server
CMD ["kuadrado_server"]