Source for scripts that start multiple processes in the same docker container

master
Tudor Stanciu 2020-04-15 01:11:54 +03:00
parent 7f86c057f9
commit 76b6081a35
1 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,7 @@ docker image build -t "react-redux-course:1.0.19" .
docker run -p 5050:80 -it react-redux-course:1.0.19 docker run -p 5050:80 -it react-redux-course:1.0.19
Multiple ports: Multiple ports:
docker run -p 5050:80 -p 3001:3001 -it react-redux-course:1.0.20 docker run -p 5050:80 -p 3001:3001 -it react-redux-course:1.0.20
Source for scripts that start multiple processes in the same docker container: https://docs.docker.com/config/containers/multi-service_container/