Refactor Dockerfile and scripts for improved WOL configuration and error handling

This commit is contained in:
Bastian (BaM)
2025-09-13 19:45:00 +02:00
parent c33a948b80
commit 6b8df2ea56
3 changed files with 25 additions and 15 deletions

View File

@@ -3,10 +3,8 @@ 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
--repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing wol \
&& apk add --no-cache bash curl ca-certificates
# Copy script
WORKDIR /app
@@ -19,4 +17,4 @@ ENV CONTAINER_NAME=paperless-ai \
OLLAMA_PORT=11434 \
SINCE=0s
ENTRYPOINT ["/usr/local/bin/auto-boot-ollama-host.sh"]
ENTRYPOINT ["/usr/local/bin/auto-boot-ollama-host.sh"]