a bot to post news about Blizzard games to matrix rooms
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

17 行
377 B

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