Merge pull request #390 from ggogel/patch-1

create /data and give ownership to node user
This commit is contained in:
Travis Ralston 2020-12-29 09:02:57 -07:00 committed by GitHub
commit 1219ef2b4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 mkdir /data && chown -R node /data
USER node
RUN npm clean-install --production