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