Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.06 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.06 KB

Dockerfile for running a DRY project

To use update your docker-compose.yml file to include the following:

  project_name-site:
    build: https://github.com/TallieuTallieu/dry-docker.git

You can fix the version of the image by using a specific tag:

  project_name-site:
    build: https://github.com/TallieuTallieu/dry-docker.git#v1.0.1

Run docker-compose up --build to update the image.

Changes for a specific project

You can make changes to the Dockerfile for a specific project by creating a new branch and using this in the build line in the docker-compose.yml file.

  project_name-site:
    build: https://github.com/TallieuTallieu/dry-docker.git#branch_name

Or you can copy and paste the Dockerfile into your project and make changes there.

Changes to the Dockerfile

If you make changes to the Dockerfile, make sure you create a new tag using semantic versioning and describe the changes in the tag description.

git tag -a 1.0.1 -m "Description of changes"
git push origin 1.0.1