This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
50 lines (38 loc) · 1.39 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
build-prod:
docker-compose -f docker-compose.yml build
bp: build-prod
build-dev:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
bd: build-dev
build-test:
docker-compose -f docker-compose.yml -f docker-compose.test.yml build
bt: build-test
deploy-prod:
docker-compose -f docker-compose.yml up -d
dp: deploy-prod
deploy-dev:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
dd: deploy-dev
deploy-dev-https:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.dev.https.yml up -d
dds: deploy-dev-https
deploy-dev-debug:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.dev.debug.yml up -d
ddd: deploy-dev-debug
deploy-test:
docker-compose -f docker-compose.yml -f docker-compose.test.yml up --abort-on-container-exit
dt: deploy-test
deploy-test-debug:
docker-compose -f docker-compose.yml -f docker-compose.test.yml -f docker-compose.test.debug.yml up --abort-on-container-exit
dtd: deploy-test-debug
deploy-test-server:
docker-compose -f docker-compose.yml -f docker-compose.test.yml -f docker-compose.test.e2e.yml up -d
dts: deploy-test-server
stop:
docker-compose stop
rm:
docker-compose rm -f
clean:
docker ps -a | grep coteh/simpleimage | cut -d' ' -f1 | xargs docker rm
docker images | grep coteh/simpleimage | awk '{print $$3}' | xargs docker rmi
docker volume rm simpleimage_node_modules