Skip to content

Commit

Permalink
fix: make preview-docs should run on Mac M1 (#7136)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsquared94 authored Feb 22, 2022
1 parent 775d9a7 commit 144f365
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/docs/local-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ for dir in $(find ${DOCS_DIR} -mindepth 1 -maxdepth 1 -type d | grep -v themes |
MOUNTS="${MOUNTS} -v $dir:/app/docs/$(basename $dir):ro"
done

docker build -t skaffold-docs-previewer --target runtime_deps deploy/webhook
docker run --rm -ti -p 1313:1313 ${MOUNTS} skaffold-docs-previewer $@
docker build --platform linux/amd64 -t skaffold-docs-previewer --target runtime_deps deploy/webhook
docker run --platform linux/amd64 --rm -ti -p 1313:1313 ${MOUNTS} skaffold-docs-previewer $@

0 comments on commit 144f365

Please sign in to comment.