Update swarm_visualizer_dockerfile

This commit is contained in:
holzi1005 2024-11-15 08:37:14 +01:00
parent 60e8ced8d9
commit fcd706f03e

View file

@ -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/ \
&& rm -r /docker-swarm-visualizer-main
USER nobody
RUN npm install --only=prod
CMD ["npm", "start"]