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