Files
anyllm-proxy/docker-entrypoint.sh
T
whit3rabbitandClaude Opus 4.8 70ba5ade26 fix(docker): use hyphenated anyllm-proxy binary name
The [[bin]] name became anyllm-proxy (hyphen) in 0.12.0, but the Dockerfile
runtime COPY and docker-entrypoint.sh still referenced anyllm_proxy
(underscore), breaking the Docker image build ("/app/target/release/anyllm_proxy:
not found"). Both now use the hyphenated name.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 08:10:41 -05:00

11 lines
293 B
Bash
Executable File

#!/bin/sh
set -e
# Translate WEBUI=1 or ADMIN=1 into the --webui CLI flag so Docker users
# can enable the admin UI via environment variables without overriding CMD.
if [ "${WEBUI:-0}" = "1" ] || [ "${ADMIN:-0}" = "1" ]; then
set -- --webui "$@"
fi
exec /usr/local/bin/anyllm-proxy "$@"