12 lines
430 B
Plaintext
12 lines
430 B
Plaintext
project_root := justfile_directory()
|
|
frontend_dir := project_root + "/Frontend"
|
|
frontend_bake := project_root + "/Frontend/docker-bake.hcl"
|
|
|
|
# Build the Frontend production image locally.
|
|
build:
|
|
cd '{{frontend_dir}}' && docker buildx bake -f '{{frontend_bake}}' prod
|
|
|
|
# Rebuild the Frontend production image locally.
|
|
rebuild:
|
|
cd '{{frontend_dir}}' && docker buildx bake -f '{{frontend_bake}}' --set '*.no-cache=true' prod
|