Update swarm_visualizer_dockerfile

This commit is contained in:
holzi1005 2024-11-15 08:47:59 +01:00
parent cf3fc89963
commit be0e93358c

View file

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