Update swarm_visualizer_dockerfile
This commit is contained in:
parent
cf3fc89963
commit
be0e93358c
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ RUN mv /docker-swarm-visualizer-main/package*.json /usr/src/app/ \
|
||||||
&& mv /docker-swarm-visualizer-main/scripts /usr/src/app/scripts \
|
&& mv /docker-swarm-visualizer-main/scripts /usr/src/app/scripts \
|
||||||
&& rm -r /docker-swarm-visualizer-main
|
&& rm -r /docker-swarm-visualizer-main
|
||||||
|
|
||||||
USER nobody
|
|
||||||
|
|
||||||
RUN npm install --only=prod
|
RUN npm install --only=prod
|
||||||
|
|
||||||
|
USER node
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
Loading…
Reference in a new issue