You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
571 B
22 lines
571 B
# 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"]
|
|
|