gamesshop/deploy/deploy.sh

14 lines
430 B
Bash
Raw Normal View History

2024-11-07 17:28:45 +00:00
#!/usr/bin/env bash
2024-11-07 17:38:43 +00:00
docker run -i --rm --volume "$PWD":/app -w /app node npm install
docker run -i --rm --volume "$PWD":/app -w /app node npm run build
2024-11-07 17:28:45 +00:00
2024-11-07 17:38:43 +00:00
docker run -i --rm --volume "$PWD":/app -w /app composer composer install --ignore-platform-req=ext-gd
2024-11-07 17:28:45 +00:00
docker run \
--volume "$PWD":/app \
--rm \
--interactive \
--tty \
php:8.3-cli \
php /app/src/php/bin/doctrine.php orm:schema-tool:update --force