Merge branch 'development' into development_kristof
This commit is contained in:
0
examples/virt/docker/docker_dev_tools.vsh
Normal file → Executable file
0
examples/virt/docker/docker_dev_tools.vsh
Normal file → Executable file
0
examples/virt/docker/docker_registry.vsh
Normal file → Executable file
0
examples/virt/docker/docker_registry.vsh
Normal file → Executable file
0
examples/virt/docker/presearch_docker.vsh
Normal file → Executable file
0
examples/virt/docker/presearch_docker.vsh
Normal file → Executable file
12
examples/virt/docker/tf_dashboard.vsh
Normal file → Executable file
12
examples/virt/docker/tf_dashboard.vsh
Normal file → Executable file
@@ -17,25 +17,25 @@ recipe.add_run(cmd: 'npm i -g yarn')!
|
||||
recipe.add_run(
|
||||
cmd: '
|
||||
git clone https://github.com/threefoldtech/tfgrid-sdk-ts.git /app
|
||||
cd /app/packages/dashboard
|
||||
cd /app/packages/playground
|
||||
yarn install
|
||||
yarn lerna run build --no-private
|
||||
yarn workspace @threefold/dashboard build
|
||||
yarn workspace @threefold/playground build
|
||||
'
|
||||
)!
|
||||
|
||||
recipe.add_run(
|
||||
cmd: '
|
||||
rm /etc/nginx/conf.d/default.conf
|
||||
cp /app/packages/dashboard/nginx.conf /etc/nginx/conf.d
|
||||
cp /app/packages/playground/nginx.conf /etc/nginx/conf.d
|
||||
apk add --no-cache bash
|
||||
chmod +x /app/packages/dashboard/scripts/build-env.sh
|
||||
cp -r /app/packages/dashboard/dist /usr/share/nginx/html
|
||||
chmod +x /app/packages/playground/scripts/build-env.sh
|
||||
cp -r /app/packages/playground/dist /usr/share/nginx/html
|
||||
'
|
||||
)!
|
||||
|
||||
recipe.add_run(cmd: 'echo "daemon off;" >> /etc/nginx/nginx.conf')!
|
||||
recipe.add_cmd(cmd: '/bin/bash -c /app/packages/dashboard/scripts/build-env.sh')!
|
||||
recipe.add_cmd(cmd: '/bin/bash -c /app/packages/playground/scripts/build-env.sh')!
|
||||
recipe.add_entrypoint(cmd: 'nginx')!
|
||||
|
||||
recipe.build(false)!
|
||||
|
||||
Reference in New Issue
Block a user