Skip to content

TallieuTallieu/dry-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published