Skip to content

Commit e696407

Browse files
committed
Revert "idk"
This reverts commit 1cc54dd.
1 parent 087c9e8 commit e696407

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ COPY src/ ./src/
1313

1414
RUN set -eux; \
1515
pip install --no-cache-dir --upgrade pip; \
16-
pip install --no-cache-dir --timeout 1000 .[server]; \
17-
pip install --no-cache-dir debugpy
16+
pip install --no-cache-dir --timeout 1000 .[server]
1817

1918
# Stage 2: Runtime image
2019
FROM python:3.13.5-slim@sha256:4c2cf9917bd1cbacc5e9b07320025bdb7cdf2df7b0ceaccb55e9dd7e30987419

compose.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,12 @@ services:
5454
- S3_BUCKET_NAME=${S3_BUCKET_NAME:-gitingest-bucket}
5555
- S3_REGION=${S3_REGION:-us-east-1}
5656
# Public URL for S3 resources
57-
- S3_ALIAS_HOST=https://d3pi02tcpwm9y3.cloudfront.net
57+
- S3_ALIAS_HOST=${S3_ALIAS_HOST:-http://127.0.0.1:9000/${S3_BUCKET_NAME:-gitingest-bucket}}
5858
volumes:
5959
# Mount source code for live development
6060
- ./src:/app:ro
61-
# Expose debugpy port for remote debugging
62-
ports:
63-
- "5678:5678"
64-
- "${APP_WEB_BIND:-8000}:8000"
65-
- "${GITINGEST_METRICS_HOST:-127.0.0.1}:${GITINGEST_METRICS_PORT:-9090}:9090"
66-
# Start with debugpy for remote attach
67-
command: ["python", "-m", "debugpy", "--listen", "0.0.0.0:5678", "-m", "uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
61+
# Use --reload flag for hot reloading during development
62+
command: ["python", "-m", "uvicorn", "server.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
6863
depends_on:
6964
minio-setup:
7065
condition: service_completed_successfully

0 commit comments

Comments
 (0)