create /data and give ownership to node user
This should fix: #224 #265 #301 #319
This commit is contained in:
parent
9dfa45a8a0
commit
2b52b5995a
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ COPY --from=builder /home/node/matrix-dimension/config /home/node/matrix-dimensi
|
||||||
|
|
||||||
RUN chown -R node /home/node/matrix-dimension
|
RUN chown -R node /home/node/matrix-dimension
|
||||||
|
|
||||||
|
RUN mkdir /data && chown -R node /data
|
||||||
|
|
||||||
USER node
|
USER node
|
||||||
|
|
||||||
RUN npm clean-install --production
|
RUN npm clean-install --production
|
||||||
|
|
Loading…
Reference in a new issue