Refactor Dockerfile and scripts for improved WOL configuration and error handling
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user