a bot to post news about Blizzard games to matrix rooms
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

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