FROM python:alpine

WORKDIR /bot
COPY . .
RUN touch settings.cfg

RUN pip install --no-cache-dir --requirement requirements.txt

USER nobody:nogroup

ENTRYPOINT ["python", "bot.py"]