зеркало из https://github.com/mozilla/hubs.git
Remove copy "react-components" from turkey build
This commit is contained in:
Родитель
eca4b758a9
Коммит
1bc03b3d6a
|
@ -16,7 +16,7 @@ run npm run build 1> /dev/null
|
||||||
copy scripts/docker/turkey-swaps/admin-menu.js admin/src/react-components/admin-menu.js
|
copy scripts/docker/turkey-swaps/admin-menu.js admin/src/react-components/admin-menu.js
|
||||||
run cd admin && npm run build 1> /dev/null && cp -R dist/* ../dist && cd ..
|
run cd admin && npm run build 1> /dev/null && cp -R dist/* ../dist && cd ..
|
||||||
run mkdir -p dist/pages && mv dist/*.html dist/pages && mv dist/hub.service.js dist/pages && mv dist/schema.toml dist/pages
|
run mkdir -p dist/pages && mv dist/*.html dist/pages && mv dist/hub.service.js dist/pages && mv dist/schema.toml dist/pages
|
||||||
run mkdir /hubs/rawhubs && mv dist/pages /hubs/rawhubs && mv dist/assets /hubs/rawhubs && mv dist/react-components /hubs/rawhubs/pages && mv dist/favicon.ico /hubs/rawhubs/pages
|
run mkdir /hubs/rawhubs && mv dist/pages /hubs/rawhubs && mv dist/assets /hubs/rawhubs && mv dist/favicon.ico /hubs/rawhubs/pages
|
||||||
|
|
||||||
from alpine/openssl as ssl
|
from alpine/openssl as ssl
|
||||||
run mkdir /ssl && openssl req -x509 -newkey rsa:2048 -sha256 -days 36500 -nodes -keyout /ssl/key -out /ssl/cert -subj '/CN=hubs'
|
run mkdir /ssl && openssl req -x509 -newkey rsa:2048 -sha256 -days 36500 -nodes -keyout /ssl/key -out /ssl/cert -subj '/CN=hubs'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче