

- #DOCKER RUN IMAGE AT REVISION HOW TO#
- #DOCKER RUN IMAGE AT REVISION FULL#
- #DOCKER RUN IMAGE AT REVISION CODE#
Every Dockerfile begins with a parent or base image on top of which various commands are run. This part of the documentation explains how to use EHRbase from a Docker container and/or how to create your own EHRbase and PostgreSQL DB Docker image.

A Dockerfile is a collection of instructions for building a Docker image that can then be run as a container. By default it is looking at the root folder of the project, but any subfolder path is also valid. The first step to running your application inside of a Docker container is creating a Dockerfile. You could also change the Docker build context by editing the working_directory property.
#DOCKER RUN IMAGE AT REVISION CODE#
This pipeline checks out the source code of the repository and then builds a dockerfile found at the subfolder docker while still keeping as Docker context the root directory.īuilding a Docker image with specific Dockerfile ' tag : ' master' dockerfile : docker/Dockerfile type : git-clone repo : ' codefreshdemo/cf-example-dockerfile-other-location' revision : ' master' git : github build_my_app : title : Building Node.Js Docker Image type : build image_name : my-app working_directory : '.
#DOCKER RUN IMAGE AT REVISION FULL#
The dockerfile property of the build step can accept a full path.Ĭodefresh.yml version : ' 1.0' steps : main_clone : title : Cloning main repository. Revision History Using Images Overview Source-to-Image (S2I) Overview. and revision (family:revision ) or full ARN of the task definition to run in. Then well export the Docker image and Jump right onto 3:22 for the hands-on code. Build Run Policy Advanced Build Operations Troubleshooting. t my-web-app -f subfolder/DockerfileĬodefresh supports a similar syntax as well. It makes it easy to run, stop, and manage Docker containers on a cluster.
