This commit is contained in:
parent
8bdb020595
commit
3ea8ef89d6
@ -6,7 +6,6 @@ pipeline:
|
|||||||
build:
|
build:
|
||||||
image: archon_build
|
image: archon_build
|
||||||
commands:
|
commands:
|
||||||
- su - node
|
|
||||||
- npm install
|
- npm install
|
||||||
- npm run grunt
|
- npm run grunt
|
||||||
- npm run build-linux
|
- npm run build-linux
|
||||||
|
@ -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
|
# 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 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/node_modules
|
||||||
VOLUME /usr/src/app/public
|
VOLUME /usr/src/app/public
|
||||||
|
Loading…
Reference in New Issue
Block a user