Files
bun.sh/dockerhub/debian-slim/docker-entrypoint.sh
2023-03-16 15:49:41 -07: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 "$@"