-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
54 lines (40 loc) · 1.61 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
up: docker-up
down: docker-down
prod: docker-up-prod
restart: down up
install: yarn-install
update: yarn-upgrade
docker-up:
docker-compose up -d
docker-up-prod:
IMAGE_TAG=latest docker-compose -f docker-compose-production.yml up -d
docker-build-prod:
IMAGE_TAG=latest docker-compose -f docker-compose-production.yml build
docker-down:
docker-compose down --remove-orphans
docker-down-clear:
docker-compose down -v --remove-orphans
docker-pull:
docker-compose pull
docker-build:
DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose build --build-arg BUILDKIT_INLINE_CACHE=1 --pull
yarn-install:
docker-compose run --rm node yarn install
yarn-upgrade:
docker-compose run --rm node yarn upgrade
yarn-start:
docker-compose run --rm node yarn dev
yarn-build:
docker-compose run --rm node yarn build
docker-down-clear:
COMPOSE_PROJECT_NAME=devhub docker-compose -f docker-compose.yml down -v --remove-orphans
push:
docker-compose push
banner:
@echo "oooooooooo. ooooo ooooo .o8 "
@echo "888 Y8b 888 888 888 "
@echo "888 888 .ooooo. oooo oooo 888 888 oooo oooo 888oooo. Using DevHub at work? Work for Devhub."
@echo "888 888 d88 88b 88. .88 888ooooo888 888 888 d88 88b https://github.com/hose1021/DevHub"
@echo "888 888 888ooo888 88..88 888 888 888 888 888 888"
@echo "888 d88 888 .8 888 888 888 888 888 888 888 Made with ❤ by Hose"
@echo "o888bood8P Y8bod8P 8 o888o o888o V88VV8P Y8bod8P"