Updated script to preload hashes and updated message

The script now uses a new .env variable called PRELOAD which is used
to specify whether the database should be preloaded with hashes.
Currently this is configured to use a role from a specific server.
This will be changed at a later date.
This commit is contained in:
雲華
2022-01-19 16:15:02 -05:00
parent af948965b0
commit f97f72d18d
3 changed files with 45 additions and 14 deletions

View File

@@ -10,4 +10,5 @@ RUN python3 -m venv venv && \
RUN mkdir database && \
touch database/news.db
CMD ["venv/bin/python", "main.py"]