Init
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user