add docker-entrypoint

This commit is contained in:
root 2020-05-30 01:51:58 +00:00
parent 6a1f22c60b
commit c6661985d5

11
docker-entrypoint.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# python venv
PATH="/mop/env/bin:$PATH"
cd /mop
# generate profiles
python profile_scanner.py -c $CONFIG_FOLDER -a $AUTH_FILE
# run main script
python test.py -s /tmp