diff --git a/swarm_visualizer_dockerfile b/swarm_visualizer_dockerfile index 6adf308..a597ed7 100644 --- a/swarm_visualizer_dockerfile +++ b/swarm_visualizer_dockerfile @@ -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"] \ No newline at end of file