We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc853cd commit 5912619Copy full SHA for 5912619
Dockerfile.dist
@@ -27,6 +27,8 @@ COPY --chown=node:node --from=build /app/dist /app/dist
27
COPY --chown=node:node config /app/config
28
COPY --chown=node:node docker/dspace-ui.json /app/dspace-ui.json
29
30
+# user node does not have root priviliges sop we need to ensure that
31
+# necessary files exist and node has sufficient access rights
32
RUN mkdir -p /app/dist/browser/assets \
33
&& touch /app/dist/browser/assets/config.json \
34
&& chown -R node:node /app/dist/browser/assets \
0 commit comments