Files
static-web-server/docs/entrypoint.sh

11 lines
130 B
Bash
Executable File

#!/bin/sh
set -e
# Check if incoming command contains flags.
if [ "${1#-}" != "$1" ]; then
set -- mkdocs "$@"
fi
exec "$@"