Skip to content

brenordv/dockerfile_demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile examples

This repo has a couple of examples of Dockerfile + docker-compose.yml to create an image using the files from my dummy-api repository.

git_image

This will clone a repository and create an image using it's files.

local_image

Will copy local files to create the image. To use this, first you have to clone the repository inside the local_image folder.

cd local_image
git clone https://github.com/brenordv/dummy-api.git

Building the images

To build any of the images, access one of the folders (git_image or local_image) and use one of the commands:

docker-compose up -d

or

docker build -t my_image_name:image_tag .

About

Some examples of Dockerfile + docker-compose.yml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published