a bot to post news about Blizzard games to matrix rooms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
375 B

FROM docker.io/python:slim
ENV HOMESERVER=https://example.com \
MXID=@snowstorm:example.com \
ACCESSTOKEN_FILE=/run/secrets/accesstoken \
ADMIN_ROOM=!jaeisofjaosiefjoi:example.com \
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY scrape.py ./
USER nobody:nogroup
CMD [ "python", "-u", "scrape.py" ]