- REPO = Repo Apps
- BRANCH = Branch Repo
- DIR = Name Directory Apps
- SERVER_NAME = Server Name in Nginx
- ROOTDIR = RootDir index
- PHPVERSION = 7.x
docker build --build-arg REPO=http://<user>:<password>@gitlab.com/project/web.git --build-arg BRANCH=master --build-arg DIR=web --build-arg SERVER_NAME=web.com --build-arg ROOTDIR=web/public --build-arg PHPVERSION=7.x --build-arg ENV=development -t web:latest .
docker run -d --name netzweb --restart=always -p 80:80 netz:web