diff --git a/Dockerfile b/Dockerfile index d511fa58e8..fd087eae39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,10 @@ RUN npm install --no-audit ENV NODE_OPTIONS="--max-old-space-size=2048" RUN npm run frontend +# Create directories for the volumes to inherit +# the correct permissions +RUN mkdir -p /app/client/public/images /app/api/logs + # Node API setup EXPOSE 3080 ENV HOST=0.0.0.0