Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .vscode/settings.json

This file was deleted.

3 changes: 3 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ RUN chmod +x /code/prestart.sh

RUN --mount=type=cache,target=/root/.cache/uv \
uv sync

# Install DebugPy to Debug:
RUN uv pip install debugpy

ENTRYPOINT ["sh", "entrypoint.sh"]
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
build: ./backend
ports:
- "8000:8000"
- "5678-5678"
depends_on:
- db
environment:
Expand All @@ -29,8 +30,11 @@ services:
- USERS_OPEN_REGISTRATION=true
volumes:
- ./backend:/app
command: sh -c "./prestart.sh && uvicorn src.main:app --reload --host 0.0.0.0 --port 8000"

command: sh -c "
pip install debugpy &&
python -m debugpy --wait-for-client --listen 0.0.0.0:5678
-m uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload
"
frontend:
build: ./frontend
ports:
Expand Down