This is a Dockerfile to build a debian based container image running nginx and php-fpm 7.3.x / 7.2.x / 7.1.x / 7.0.x & Composer.
Docker Tag | GitHub Release | Nginx Version | PHP Version | Debian Version |
---|---|---|---|---|
latest | master Branch | 1.17.2 | 7.3.8 | buster |
The build is automatically triggered by a git push to your feature/[branch]
$ git clone https://gitlab.com/propitix/microservices/php-frontend.git
$ cd frontend-propitix
Create a feature branch. # Always start with feature/[name of your branch]
git branch -b feature/add-css-style-to-about-us-page
Update the application code in
./html/
Then add/commit/push to gitlab
git status # to see your changes
git add --all # If you are satisfied with your changes and willing to push everything. Otherwise, select only the files to add
git commit -m "Put some message about this push here"
git push --set-upstream origin feature/[Your branch name]
[propitix-scm] (https://gitlab.com/propitix/microservices/frontend-propitix)
[Google Container Registry] (https://console.cloud.google.com/gcr/images/non-prod-pdz/EU/frontend-propitix?project=non-prod-pdz&authuser=1&gcrImageListsize=30) (Depending on the environment. Either non-prod or prod)
docker pull eu.gcr.io/$environment/frontend-propitix:$tag-version
Running (You can do this step without the pulling the above as it will put down if not found locally)
To run the container:
$ docker run -d eu.gcr.io/$environment/frontend-propitix:$tag-version
Default web root:
/usr/share/nginx/html
If you require permissions to GCP, or Gitlab resources, please talk to dare@propitix.com
Testing project 9 another test