-
Pierre Jarriges authoredPierre Jarriges authored
Dockerfile 348 B
FROM kuadsoft/rust-openssl:latest as builder
WORKDIR /usr/src/kuadrado_server
COPY ./Cargo.toml ./Cargo.toml
COPY ./Cargo.lock ./Cargo.lock
COPY ./src ./src
RUN cargo install --locked --path .
FROM kuadsoft/debian-openssl:buster-slim
COPY --from=builder /usr/local/cargo/bin/kuadrado_server /usr/local/bin/kuadrado_server
CMD ["kuadrado_server"]