Skip to content

Commit

Permalink
Fix deploying product page with alias for docker compose (#5117)
Browse files Browse the repository at this point in the history
* Fix deploying product page with alias

* Add which to debug

* Fix docker compose usage

* Fix docker compose usage part 2

---------

Co-authored-by: Simon Dumas <[email protected]>
  • Loading branch information
imsdu and Simon Dumas authored Aug 22, 2024
1 parent d7923f3 commit 6bff577
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
#!/usr/bin/env bash

set -e

mkdir -p target
rm -rf target/*


# Build product page
echo 'docker compose --compatibility "$@"' >> /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

(cd product-page/src && make install && make build)
cp -R ./product-page/src/site/* ./target

Expand Down

0 comments on commit 6bff577

Please sign in to comment.