bullpen/backend/readme.md

21 lines
497 B
Markdown

# Build and push docker image
```bash
docker buildx build --target production -t bullpen:latest .
docker tag bullpen git.palaeomatiker.home64.de/sascha/bullpen:latest
docker login git.paleaomatiker.home64.de
docker push git.palaeomatiker.home64.de/sascha/bullpen:latest
docker logout git.paleaomatiker.home64.de
```
```bash
docker-compose up --build -d
docker-compose exec app npx sequelize-cli db:migrate
docker-compose exec app npx sequelize-cli db:seed:all
docker-compose exec app sh
```