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