forked from virtualvinodh/aksharamukha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdockerbuild.ps1
34 lines (16 loc) · 984 Bytes
/
dockerbuild.ps1
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
(Get-Content .\aksharamukha-front\src\layouts\default.vue).replace('fonts.css', 'fontsdocker.css') | Set-Content .\aksharamukha-front\src\layouts\default.vue
(Get-Content .\aksharamukha-front\src\mixins\ScriptMixin.js).replace('https://aksharamukha.appspot.com/api/', 'http://localhost:8085/api') | Set-Content .\aksharamukha-front\src\mixins\ScriptMixin.js
# python .\dockerfonts.py
cd .\aksharamukha-fonts
docker build --no-cache -t virtualvinodh/aksharamukha-fonts .
cd ..\aksharamukha-front
quasar build
cd .\dist
docker build --no-cache -t virtualvinodh/aksharamukha-front .
cd ..\..\aksharamukha-back
docker build --no-cache -t virtualvinodh/aksharamukha-back .
docker push virtualvinodh/aksharamukha-fonts
docker push virtualvinodh/aksharamukha-front
docker push virtualvinodh/aksharamukha-back
cd ..
(Get-Content .\aksharamukha-front\src\layouts\default.vue).replace('fontsdocker.css', 'fonts.css') | Set-Content .\aksharamukha-front\src\layouts\default.vue