This commit is contained in:
@ -15,9 +15,5 @@ RUN apt update && \
|
||||
# make sure node_modules and public exist so we can ensure it's own by the right user
|
||||
RUN mkdir /usr/src/app/{node_modules,public}
|
||||
|
||||
RUN chown -R node /usr/src/app
|
||||
|
||||
USER node
|
||||
|
||||
VOLUME /usr/src/app/node_modules
|
||||
VOLUME /usr/src/app/public
|
||||
|
Reference in New Issue
Block a user