NorbiPeti
c62925daf7
- Added local DB container - Added scripts to deploy frontend/backend by running the deploy command in the containers - Installing Docker and Heroku CLI in the dev backend container to be able to build and push the container without installing the CLI on the host - Building and pushing the production container to the Heroku Container Registry
5 lines
151 B
Bash
Executable file
5 lines
151 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd backend || exit
|
|
docker-compose build backend
|
|
docker-compose run -e COMMAND=deploy -v /var/run/docker.sock:/var/run/docker.sock backend
|