-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (24 loc) · 1.05 KB
/
Makefile
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
build:
docker compose build
docker compose run --rm seeds_view npm install
docker compose up seeds_db -d
docker compose run --rm seeds_api rails db:create
docker compose run --rm seeds_api rails db:migrate
docker compose run --rm seeds_api rails db:seed_fu
rebuild:
docker compose build --no-cache
docker compose run --rm seeds_view npm install
docker compose run --rm seeds_api rails db:create
docker compose run --rm seeds_api rails db:migrate
docker compose run --rm seeds_api rails db:seed_fu
db:
docker compose up seeds_db -d
docker compose run --rm seeds_api rails db:create
docker compose run --rm seeds_api rails db:migrate
docker compose run --rm seeds_api rails db:seed_fu
build-prod:
docker-compose -f docker-compose.prod.yml build
docker-compose -f docker-compose.prod.yml run --rm seeds_view npm install
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:create
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:migrate
docker-compose -f docker-compose.prod.yml run --rm seeds_api rails db:seed_fu