mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 15:53:45 +00:00
ci(deploy): fix permissions for data
This commit is contained in:
parent
f8bc0aca0a
commit
2cb4042a20
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ EXPOSE 7233
|
||||||
|
|
||||||
# Volume to persist sqlite databases
|
# Volume to persist sqlite databases
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
RUN mkdir -p /data && chown -R nonroot:nonroot /data
|
||||||
|
|
||||||
ENV DATABASE_PATH=/data/zdravko.db
|
ENV DATABASE_PATH=/data/zdravko.db
|
||||||
ENV TEMPORAL_DATABASE_PATH=/data/temporal.db
|
ENV TEMPORAL_DATABASE_PATH=/data/temporal.db
|
||||||
|
|
Loading…
Reference in a new issue