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