mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
dockerfile: enhanced to match netlify pipeline
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
16
Makefile
16
Makefile
@@ -19,3 +19,19 @@ buildx-yaml:
|
||||
rm -rf ./_data/buildx/*
|
||||
cp -R "$($@_TMP_OUT)"/out/reference/*.yaml ./_data/buildx/
|
||||
rm -rf $($@_TMP_OUT)/*
|
||||
|
||||
# Build website and output to _site folder
|
||||
release:
|
||||
rm -rf _site
|
||||
$(BUILDX_CMD) bake release
|
||||
|
||||
# Vendor Gemfile.lock
|
||||
vendor:
|
||||
$(BUILDX_CMD) bake vendor
|
||||
|
||||
# Deploy website and run it through Docker compose
|
||||
# Available in your browser at http://localhost:4000
|
||||
deploy:
|
||||
docker compose up --build
|
||||
|
||||
.PHONY: buildx-yaml release vendor deploy
|
||||
|
||||
Reference in New Issue
Block a user