Browse Source

Fix docker script to run endlessly

bernhardbuhl 3 years ago
parent
commit
659f86ad8a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      runAllinDocker.sh

+ 1 - 1
README.md

@@ -40,7 +40,7 @@ After downloading the repository use this sequence of commands to run the docker
 
 * ``docker build --no-cache . -t polzy/polzy_showcase:latest`` (Depending on your machine this may run quite long. The image is 
 not optimized for production. The focus was to create a single image to run the showcase as simple as possible)
-* ```docker run -p 3000:3000 -ti polzy/polzy_showcase:latest```
+* ```docker run -p 3000:3000 -dit polzy/polzy_showcase:latest```
 
 You can now open a browser on your local PC and point to http://localhost:3000 and start using PoLZy-Showcase.
 

+ 1 - 1
runAllinDocker.sh

@@ -7,4 +7,4 @@ git pull
 cd /root/PoLZy/polzy-frontend
 git pull
 npm install
-npm start &
+npm start