rxc-app/start/image+container.txt

8 lines
392 B
Plaintext

docker image build -t "react-redux-course:1.0.0" .
Multiple ports:
docker run -p 5050:80 -p 3001:3001 -it react-redux-course:1.0.20
docker run --restart=always -p 5002:80 -p 5003:3001 -d cloud.canister.io:5000/tstanciu/react-redux-course:1.0.1
Source for scripts that start multiple processes in the same docker container: https://docs.docker.com/config/containers/multi-service_container/