Use vault

This commit is contained in:
2024-04-14 11:22:35 +02:00
parent 45c567410e
commit ba8612b990
3 changed files with 22 additions and 2 deletions

View File

@@ -10,12 +10,15 @@ RUN cargo build --release --bin book_library_server
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y openssl ca-certificates \
&& apt-get install -y openssl ca-certificates curl jq \
&& rm -rf /var/lib/apt/lists/*
RUN update-ca-certificates
COPY ./scripts/*.sh /
RUN chmod +x /*.sh
WORKDIR /app
COPY --from=builder /app/target/release/book_library_server /usr/local/bin
ENTRYPOINT ["/usr/local/bin/book_library_server"]
ENTRYPOINT ["/start.sh"]