Update swarm_visualizer_dockerfile
This commit is contained in:
parent
60e8ced8d9
commit
fcd706f03e
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ RUN wget https://github.com/yandeu/docker-swarm-visualizer/archive/refs/heads/ma
|
||||||
RUN mv /docker-swarm-visualizer-main/package*.json /usr/src/app/ \
|
RUN mv /docker-swarm-visualizer-main/package*.json /usr/src/app/ \
|
||||||
&& rm -r /docker-swarm-visualizer-main
|
&& rm -r /docker-swarm-visualizer-main
|
||||||
|
|
||||||
|
USER nobody
|
||||||
|
|
||||||
RUN npm install --only=prod
|
RUN npm install --only=prod
|
||||||
|
|
||||||
CMD ["npm", "start"]
|
CMD ["npm", "start"]
|
Loading…
Reference in a new issue