move database.sqlite to separate directory

Makes it easier to mount a volume and get persistence.
This commit is contained in:
2024-06-02 17:57:54 +02:00
parent 5b02942c95
commit 42af5df506
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ COPY main.py .
COPY api.py .
COPY moj_licznik.py .
COPY log_config.py .
COPY database_empty.sqlite database.sqlite
COPY database_empty.sqlite data/database.sqlite
RUN chmod a+x run.sh
RUN apk add --update --no-cache py3-pip && \