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
377 B

  1. FROM docker.io/python:latest
  2. ENV HOMESERVER=https://example.com \
  3. MXID=@snowstorm:example.com \
  4. ACCESSTOKEN_FILE=/run/secrets/accesstoken \
  5. ADMIN_ROOM=!jaeisofjaosiefjoi:example.com \
  6. CATEGORY=examplecategory
  7. WORKDIR /app
  8. COPY requirements.txt ./
  9. RUN pip install -r requirements.txt
  10. COPY scrape.py ./
  11. USER nobody:nogroup
  12. CMD [ "python", "-u", "scrape.py" ]