Pulls repo containing code + Dockerfile + requirements.txt and builds & starts a docker container.
Exposes specified port.
Usage: ./deploy.sh projectName expose-port git-repo
Example: ./deploy.sh test123 5000 [email protected]:xxx/xxx.git
This one is never used.
"Dockerfile.example" should go into project as "Dockerfile" modified accordingly.
A project containing:
- some code.
- Dockerfile
- requirements.txt