-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 732 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Docker compose shortcuts
build:
docker-compose build
run: build
docker-compose up -d --remove-orphans
stop:
docker-compose down
bash:
docker-compose exec qrapi-flask bash
logs:
docker-compose logs -f
rbash:
docker-compose run qrapi-flask bash
# Heroku CLI shortcuts
heroku-deploy:
docker build -t registry.heroku.com/swapper-backend-qrapi/web .
docker push registry.heroku.com/swapper-backend-qrapi/web:latest
heroku container:release web -a swapper-backend-qrapi
heroku-open:
heroku open -a swapper-backend-qrapi
heroku-logs:
heroku logs -a swapper-backend-qrapi --tail
# Upload the core image to dockerhub
dockerhub:
docker build -t skalimat/qrapi -f misc/dockercore/Dockerfile .
docker push skalimat/qrapi