servers/api/bin/docker-entrypoint.d/00-check-project-mounted.sh
2022-11-14 19:41:46 +01:00

7 lines
147 B
Bash
Executable File

#!/bin/sh
if [ -z "$(ls -A ${API_PROJECT_DIR})" ]; then
echo "No files found in project dir, maybe you forgot to mount it?" >&2
exit 1
fi