Images

The images tag allows rudimentary specification of how to build the Docker images needed for your deployments.

Example:

images:
  - name: frontend
    dockerfile: ./src/react/Dockerfile
    context: ./src/react
    buildargs:
      svc_name: frontend
  - name: backend
    dockerfile: ./src/flask/Dockerfile
    context: ./src/flask
    buildargs:
      svc_name: backend

By default the "main" image will be built, assuming a "Dockerfile", using the root

Last updated