Files
Sithies 72affaa0d8
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
feat: add Dockerfile, deploy pipeline, Ollama infra job, weekly cron
2026-04-25 19:22:51 +02:00

20 lines
523 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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"]