mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-22 00:00:50 +00:00
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>
11 lines
293 B
Bash
Executable File
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 "$@"
|