2026-06-14 13:57:32 +00:00
|
|
|
FROM python:3.11-slim
|
|
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
|
curl \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
COPY requirements.txt .
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
2026-06-14 20:29:27 +00:00
|
|
|
COPY bbpPairings.exe /usr/local/bin/bbpPairings.exe
|
|
|
|
|
RUN chmod +x /usr/local/bin/bbpPairings.exe
|
|
|
|
|
|
|
|
|
|
ENV BBP_PATH=/usr/local/bin/bbpPairings.exe
|
|
|
|
|
|
2026-06-14 13:57:32 +00:00
|
|
|
COPY swiss_calc/ /app/swiss_calc/
|
2026-06-14 20:39:19 +00:00
|
|
|
COPY bots/ /app/bots/
|
2026-06-14 13:57:32 +00:00
|
|
|
|
2026-06-14 20:39:19 +00:00
|
|
|
RUN mkdir -p /app/data
|
2026-06-14 13:57:32 +00:00
|
|
|
|
2026-06-14 20:39:19 +00:00
|
|
|
RUN python3 -c "from swiss_calc import parser; print('Module loaded')"
|