Skip to content

Commit 2a6611f

Browse files
committed
chore(compose): update server command to use module syntax
1 parent 5cd631a commit 2a6611f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ x-app-base: &app-base
3939
- "${APP_WEB_BIND:-8000}:8000" # Main application port
4040
- "${GITINGEST_METRICS_HOST:-127.0.0.1}:${GITINGEST_METRICS_PORT:-9090}:9090" # Metrics port
4141
user: "1000:1000"
42-
command: ["python", "run_server.py"]
42+
command: ["python", "-m", "server"]
4343

4444
services:
4545
# Production service configuration
@@ -65,9 +65,8 @@ services:
6565
volumes:
6666
# Mount source code for live development
6767
- ./src:/app:ro
68-
- ./run_server.py:/app/run_server.py:ro
6968
# Use --reload flag for hot reloading during development
70-
command: ["python", "run_server.py"]
69+
command: ["python", "-m", "server"]
7170
depends_on:
7271
minio-setup:
7372
condition: service_completed_successfully

0 commit comments

Comments
 (0)