add docker-entrypoint
This commit is contained in:
parent
6a1f22c60b
commit
c6661985d5
11
docker-entrypoint.sh
Executable file
11
docker-entrypoint.sh
Executable 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
|
||||||
Loading…
x
Reference in New Issue
Block a user