Saul Burgos
09/14/2022, 9:38 PMMatt Clarke
09/14/2022, 9:48 PMdocker build .
in a directory with a Dockerfile, you can use the -t
flag to add tags to the image
e.g. docker build -t my-image:latest .
If you're using docker compose build
, then you can use the image
flag for this purpose
Example from one of my docker compose files:
version: '3.9'
services:
dagsterdev:
build:
context: .
dockerfile: Dockerfile
target: dev
image: dagster-poc-dev # This bit!
daniel
09/15/2022, 12:17 PMSaul Burgos
09/15/2022, 1:34 PM