# I use docker-compose for this convenience since most of the apps I'm building are talking to external services sooner or later, so if I'm going to use it anyway, why not use it from the start. Just have docker-compose.yml as:
version: "3"
services:
app:
pull_policy: "build"
build: .
# and then just run the app with:
docker-compose up --build app
#It will rebuild the image or reuse the container depending on whether there were changes made to the image definition.