Files
lostark-news-webscraper/Dockerfile
雲華 12bd0027f9 Initial commit
Added the first implementation of scraping the website. The "thumbnail"
option is disabled in the embeds sent because they are not properly
handled on Guilded yet (cropping is wonky). This script should also work
for any Discord webhook URLs, but it hasn't been tested. There currently
isn't a way to pre-populate the database with hashes unless you manually
do it before hand. This is something I'm looking at adding in the future
probably.
2021-08-17 17:33:52 -04:00

10 lines
161 B
Docker

FROM python:slim
COPY . /lanews
WORKDIR /lanews
RUN python3 -m venv venv && \
venv/bin/pip install -r requirements.txt
CMD ["venv/bin/python", "main.py"]