Added openSSL to container (#6)

master
Jef Roosens 2021-03-13 10:41:44 +01:00
parent e978595eb6
commit 9db9b5be78
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ RUN --mount=type=cache,target=/usr/src/app/target cargo install --path .
FROM debian:buster-slim FROM debian:buster-slim
# Install dependencies
RUN apt update && apt install -y openssl
COPY --from=builder /usr/local/cargo/bin/rust-api /usr/local/bin/rust-api COPY --from=builder /usr/local/cargo/bin/rust-api /usr/local/bin/rust-api
CMD ["rust-api"] CMD ["rust-api"]