gamesshop/deploy/deploy.sh

14 lines
433 B
Bash
Raw Normal View History

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