Browse Source

Update Dockerfile to use lua script as entrypoint and remove unused shell script

main
Bastian (BaM) 3 months ago
parent
commit
5f53bea04a
  1. 7
      Dockerfile

7
Dockerfile

@ -8,8 +8,9 @@ RUN apk add --no-cache \
# Copy script # Copy script
WORKDIR /app WORKDIR /app
COPY scripts/auto-boot-ollama-host.sh /usr/local/bin/auto-boot-ollama-host.sh COPY scripts/auto-boot-ollama-host.lua .
RUN chmod +x /usr/local/bin/auto-boot-ollama-host.sh #COPY scripts/auto-boot-ollama-host.sh /usr/local/bin/auto-boot-ollama-host.sh
#RUN chmod +x /usr/local/bin/auto-boot-ollama-host.sh
# Environment defaults (can be overridden by compose/Komodo) # Environment defaults (can be overridden by compose/Komodo)
ENV CONTAINER_NAME=paperless-ai \ ENV CONTAINER_NAME=paperless-ai \
@ -17,4 +18,4 @@ ENV CONTAINER_NAME=paperless-ai \
OLLAMA_PORT=11434 \ OLLAMA_PORT=11434 \
SINCE=0s SINCE=0s
ENTRYPOINT ["/usr/local/bin/auto-boot-ollama-host.sh"] ENTRYPOINT ["lua5.4", "/app/auto-boot-ollama-host.lua"]
Loading…
Cancel
Save