Specify DBPath for docker (#699)

This commit is contained in:
Sung 2025-10-19 15:38:52 -07:00 committed by GitHub
commit 83ac43b737
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"]