Files
threshold-ui/docker-compose-embedding.yml
T
hashicorp-copywrite[bot]andCameron Perera 3d610427d0 [COMPLIANCE] Add Copyright and License Headers (#1617)
* [COMPLIANCE] Add Copyright and License Headers

* chore: 🤖 update Copyright headers to satisfy our lint rules

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2023-03-01 09:39:41 -06:00

42 lines
1.3 KiB
YAML
Executable File

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
# Note: this will change the permissions of the files in this directory after
# running to allow for easy deletion, so this should only be run as part of
# boundary's build task.
version: '3.8'
services:
node: &node
image: docker.mirror.hashicorp.services/node:14
volumes:
- './:/src'
- 'icu_node_modules:/src/node_modules'
- 'icu_addons_api_node_modules:/src/addons/api/node_modules'
- 'icu_addons_auth_node_modules:/src/addons/auth/node_modules'
- 'icu_addons_core_node_modules:/src/addons/core/node_modules'
- 'icu_addons_rose_node_modules:/src/addons/rose/node_modules'
- 'icu_ui_admin_node_modules:/src/ui/admin/node_modules'
- 'icu_ui_desktop_node_modules:/src/ui/desktop/node_modules'
working_dir: /src
build-admin:
<<: *node
entrypoint: bash
command: '-c "yarn install && yarn build:ui:admin && chmod -R 777 ."'
build-desktop-production:
<<: *node
entrypoint: bash
command: '-c "yarn install --frozen-lockfile --non-interactive && yarn build:ui:desktop:production && chmod -R 777 ."'
volumes:
icu_node_modules:
icu_addons_api_node_modules:
icu_addons_auth_node_modules:
icu_addons_core_node_modules:
icu_addons_rose_node_modules:
icu_ui_admin_node_modules:
icu_ui_desktop_node_modules: