Skip to content
Merged
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
1 change: 1 addition & 0 deletions apps/api/internal/db/repository/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ func (r *EventRepository) GetCheckedInStatusByUserIdAndEventId(ctx context.Conte
}

return result, nil
}

func (r *EventRepository) GetAttendeeUserIdsByEventId(ctx context.Context, eventID uuid.UUID) ([]uuid.UUID, error) {
return r.db.Query.GetAttendeeUserIdsByEventId(ctx, eventID)
Expand Down
22 changes: 11 additions & 11 deletions apps/discord-bot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM python:3.12-slim
# FROM python:3.12-slim

RUN pip install uv
# RUN pip install uv

WORKDIR /app
# WORKDIR /app

COPY pyproject.toml .
COPY uv.lock .
# COPY pyproject.toml .
# COPY uv.lock .

# ENV PATH="/root/.local/bin:$PATH"
# # ENV PATH="/root/.local/bin:$PATH"

RUN uv sync --frozen --no-cache --all-extras
# RUN uv sync --frozen --no-cache --all-extras

COPY . .
# COPY . .

EXPOSE 3000
# EXPOSE 3000

CMD ["uv", "run", "main.py"]
# CMD ["uv", "run", "api_server.py"]
# CMD ["uv", "run", "main.py"]
# # CMD ["uv", "run", "api_server.py"]
7 changes: 0 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ services:
depends_on:
- api

discord:
build:
context: ./apps/discord-bot
dockerfile: Dockerfile
ports:
- "3000:3000"

asynqmon:
image: hibiken/asynqmon:latest
platform: linux/amd64
Expand Down