mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-20 04:21:13 -05:00
refactor(docker): restructure Dockerfile to copy source code directory and create rules_backup volume
This commit is contained in:
@@ -3,5 +3,5 @@ set -e
|
||||
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting SimpleGuardHome..."
|
||||
|
||||
# Start the application
|
||||
exec python3 -m uvicorn simpleguardhome.main:app --host 0.0.0.0 --port 8000
|
||||
# Run the app with src in Python path to find the module
|
||||
PYTHONPATH=/app/src exec python3 -m uvicorn simpleguardhome.main:app --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user