feat: add Dockerfile, deploy pipeline, Ollama infra job, weekly cron
CI / check (push) Successful in 13m8s
CI / test (push) Successful in 13m23s
CI / clippy (push) Successful in 12m46s
CI / deploy-infra (push) Has been skipped
CI / deploy (push) Has been skipped

This commit is contained in:
2026-04-25 19:22:51 +02:00
parent b6a5618f78
commit 72affaa0d8
5 changed files with 160 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM debian:bookworm-slim
RUN apt-get update \
&& apt-get install -y ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Pfad spiegelt die Cargo-Ausgabestruktur:
# current_exe() = /app/target/release/nazarick
# 3× .parent() → /app/target/release → /app/target → /app (workspace_root) ✓
RUN mkdir -p /app/target/release
COPY target/aarch64-unknown-linux-gnu/release/nazarick /app/target/release/nazarick
VOLUME ["/app/config", "/app/data"]
EXPOSE 8765
CMD ["/app/target/release/nazarick"]