Persistent db in docker
This commit is contained in:
parent
46bc6c4dbe
commit
e5dae6db99
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue