Add vault

This commit is contained in:
2024-04-14 11:40:32 +02:00
parent 3e3d1bd44d
commit aff95417fe
3 changed files with 22 additions and 2 deletions

View File

@@ -10,12 +10,15 @@ RUN cargo build --release --bin meili_updater
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/*
COPY ./scripts/*.sh /
RUN chmod +x /*.sh
RUN update-ca-certificates
WORKDIR /app
COPY --from=builder /app/target/release/meili_updater /usr/local/bin
ENTRYPOINT ["/usr/local/bin/meili_updater"]
ENTRYPOINT ["/start.sh"]