From ba8b430f6d96c1ff73de83f3d126612b4efbdd6b Mon Sep 17 00:00:00 2001 From: JasterV <49537445+JasterV@users.noreply.github.com> Date: Sun, 26 Apr 2026 18:12:19 +0200 Subject: [PATCH] fix: give nginx permissions over D2 generated assets --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index c13cd2a..7d40cc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,4 +36,7 @@ COPY nginx.conf /etc/nginx/nginx.conf # Copy the static files from the build stage COPY --from=build /app/dist /usr/share/nginx/html +# Give read permissions to Nginx over D2 generated assets +RUN chmod -R 755 /usr/share/nginx/html/assets/d2 + EXPOSE 8080