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" ]