From 2cb4042a20f259380e76441e2253dd3f3dc56247 Mon Sep 17 00:00:00 2001 From: Tine Date: Sun, 18 Feb 2024 11:04:06 +0100 Subject: [PATCH] ci(deploy): fix permissions for data --- build/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Dockerfile b/build/Dockerfile index 4e69b42..8e7942d 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -31,6 +31,7 @@ EXPOSE 7233 # Volume to persist sqlite databases VOLUME /data +RUN mkdir -p /data && chown -R nonroot:nonroot /data ENV DATABASE_PATH=/data/zdravko.db ENV TEMPORAL_DATABASE_PATH=/data/temporal.db