mirror of
https://github.com/pacnpal/simpleguardhome.git
synced 2025-12-23 05:51:13 -05:00
refactor(docker): simplify Dockerfile by copying package directly for easier imports and streamline entrypoint script
This commit is contained in:
@@ -3,5 +3,5 @@ set -e
|
||||
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting SimpleGuardHome..."
|
||||
|
||||
# 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
|
||||
# Just run uvicorn pointing to the app
|
||||
exec python3 -m uvicorn simpleguardhome.main:app --host 0.0.0.0 --port 8000
|
||||
Reference in New Issue
Block a user