Persistent db in docker

This commit is contained in:
JuniorJPDJ 2020-12-23 17:05:36 +01:00 committed by GitHub
parent 46bc6c4dbe
commit e5dae6db99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,4 +9,7 @@ RUN cd locales && find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec ash -c 'm
RUN pip install -r requirements.txt
VOLUME /app/data
ENV UNO_DB /app/data/uno.sqlite3
ENTRYPOINT python3 ./bot.py