Add vault

This commit is contained in:
2024-04-14 14:48:28 +02:00
parent 73b9e63f16
commit ddd4f18d2a
3 changed files with 17 additions and 2 deletions

View File

@@ -10,12 +10,15 @@ RUN cargo build --release --bin book_bot
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_bot /usr/local/bin
ENTRYPOINT ["/usr/local/bin/book_bot"]
ENTRYPOINT ["/start.sh"]