Skip to content

Commit 5912619

Browse files
pStefanecjm
authored andcommitted
comment for clarity
1 parent fc853cd commit 5912619

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ COPY --chown=node:node --from=build /app/dist /app/dist
2727
COPY --chown=node:node config /app/config
2828
COPY --chown=node:node docker/dspace-ui.json /app/dspace-ui.json
2929

30+
# user node does not have root priviliges sop we need to ensure that
31+
# necessary files exist and node has sufficient access rights
3032
RUN mkdir -p /app/dist/browser/assets \
3133
&& touch /app/dist/browser/assets/config.json \
3234
&& chown -R node:node /app/dist/browser/assets \

0 commit comments

Comments
 (0)