-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
18 lines (13 loc) · 874 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
prod:
bash -c "sed -i 's/productionMode: false,/productionMode: true,/' src/common/config/configFile.ts" && \
docker compose -f docker-compose.yml -p flyerscord-discord-prod up --build -d
prod-clean:
bash -c "sed -i 's/productionMode: false,/productionMode: true,/' src/common/config/configFile.ts" && \
docker compose -f docker-compose.yml -p flyerscord-discord-prod down --volumes --rmi all
np:
bash -c "sed -i 's/productionMode: true,/productionMode: false,/' src/common/config/configFile.ts" && \
docker compose -f docker-compose.yml -p flyerscord-discord-np up --build -d
np-clean:
bash -c "sed -i 's/productionMode: true,/productionMode: false,/' src/common/config/configFile.ts" && \
docker compose -f docker-compose.yml -p flyerscord-discord-np down --volumes --rmi all && \
docker compose -f docker-compose.yml -p flyerscord-discord-np up --build -d