The behavior and format of this command are the same for both Astro and Astro Private Cloud.
Build your Astro project into a Docker image without starting a local Airflow environment. Use this command to verify that your project builds successfully before deployment or when you need only the image build step.This command is not available in standalone mode.
Run docker build --secret to mount a secret value to your Docker image. Repeat the flag to mount more than one secret. Replaces the deprecated --build-secrets flag.
$ astro dev build# Build the project image$ astro dev build --no-cache# Build the project image without using Docker cache$ astro dev build --image-name my-custom-image:latest# Tag a pre-built image as the project image