From 83ac43b737f9351eb0cf0af4220d34ad2fa0bd04 Mon Sep 17 00:00:00 2001 From: Sung <8265228+sungwoncho@users.noreply.github.com> Date: Sun, 19 Oct 2025 15:38:52 -0700 Subject: [PATCH] Specify DBPath for docker (#699) --- host/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/host/docker/Dockerfile b/host/docker/Dockerfile index e67da318..71b3d1fa 100644 --- a/host/docker/Dockerfile +++ b/host/docker/Dockerfile @@ -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"]