Specify DBPath for docker

This commit is contained in:
Sung 2025-10-19 15:30:19 -07:00
commit 5d4a29d403

View file

@ -26,6 +26,9 @@ RUN case "$TARGETPLATFORM" in \
WORKDIR /dnote
# Set default database path for all processes (main server, docker exec, shells)
ENV DBPath=/data/dnote.db
COPY entrypoint.sh .
ENTRYPOINT ["./entrypoint.sh"]