This commit is contained in:
Bastian (BaM)
2025-09-13 19:22:33 +02:00
commit 2ef4de324c
3 changed files with 85 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
# syntax=docker/dockerfile:1
FROM alpine:3.20
# Install minimal tooling
RUN apk add --no-cache \
bash curl ca-certificates \
docker-cli inotify-tools procps \
busybox-extras iputils \
wakeonlan ethtool
# Copy script
WORKDIR /app
COPY scripts/auto-boot-ollama-pc.sh /usr/local/bin/auto-boot-ollama-pc.sh
RUN chmod +x /usr/local/bin/auto-boot-ollama-pc.sh
# Environment defaults (can be overridden by compose/Komodo)
ENV CONTAINER_NAME=paperless-ai \
OLLAMA_HOST=192.168.222.12 \
OLLAMA_PORT=11434 \
SINCE=0s
ENTRYPOINT ["/usr/local/bin/auto-boot-ollama-pc.sh"]