-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·46 lines (34 loc) · 859 Bytes
/
Makefile
File metadata and controls
executable file
·46 lines (34 loc) · 859 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
36
37
38
39
40
41
42
43
44
45
46
.PHONY: stop deploy build_auth build_board build_messenger build_core build_all
stop:
docker stack rm textneckhub
deploy:
./deploy.sh
restart: stop deploy
@echo "TextNeckHub services restarted successfully! 🚀"
build_alter:
docker build \
-f Alter/Dockerfile.prod \
-t textneckhub-alter:v1.0.0 \
Alter/
build_auth:
docker build \
-f Auth/Dockerfile.prod \
-t textneckhub-auth:v1.0.0 \
Auth/
build_board:
docker build \
-f Board/Dockerfile.prod \
-t textneckhub-board:v1.0.0 \
Board/
build_messenger:
docker build \
-f Messenger/Dockerfile.prod \
-t textneckhub-messenger:v1.0.0 \
Messenger/
build_core:
docker build \
-f Core/Dockerfile.prod \
-t textneckhub-core:v1.0.0 \
Core/
build_all: build_auth build_board build_messenger build_core
@echo "All service images built successfully! 🎉"