feat: initial commit

This commit is contained in:
2024-11-19 22:28:04 +01:00
parent e55f4176be
commit afa380db31
6 changed files with 73 additions and 0 deletions

14
entrypoint.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "No command provided"
exit 1
fi
if [ "$1" = "start" ]; then
echo "Running the command: python /app/pyrpg.py ${NUMBER_OF_PSEUDONYMS:-100}"
python /app/pyrpg.py ${NUMBER_OF_PSEUDONYMS:-100}
else
echo "Running the command: $@"
exec "$@"
fi