Files
bun-src/dockerhub/alpine/docker-entrypoint.sh
2026-08-27 21:09:14 +00:00

9 lines
171 B
Bash
Executable File

#!/bin/sh
set -e
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] && ! [ -x "${1}" ]; }; then
set -- /usr/local/bin/bun "$@"
fi
exec "$@"