FROM python:alpine3.21
WORKDIR /pgbot

COPY requirements.txt .
ENV PIP_ROOT_USER_ACTION=ignore
RUN pip install -r requirements.txt

COPY . .
CMD /pgbot/pgbot