This commit is contained in:
@ -16,9 +16,10 @@ RUN apt update && \
|
||||
RUN mkdir /usr/src/app/{node_modules,public}
|
||||
|
||||
RUN chown -R node /usr/src/app
|
||||
RUN chown -R node /root
|
||||
|
||||
USER node
|
||||
|
||||
RUN npm -g config set user node
|
||||
|
||||
VOLUME /usr/src/app/node_modules
|
||||
VOLUME /usr/src/app/public
|
||||
|
Reference in New Issue
Block a user