diff --git a/build_production.sh b/build_production.sh deleted file mode 100755 index b49e79ce4..000000000 --- a/build_production.sh +++ /dev/null @@ -1,4 +0,0 @@ -# /#!/bin/sh - -docker-compose run build_production; -chmod -R 777 ./; diff --git a/docker-compose.yml b/docker-compose-embedding.yml similarity index 70% rename from docker-compose.yml rename to docker-compose-embedding.yml index 9bd11664b..1cd3d329b 100644 --- a/docker-compose.yml +++ b/docker-compose-embedding.yml @@ -1,3 +1,7 @@ +# 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 +# watchtower's build task. + version: '3.8' services: @@ -15,7 +19,7 @@ services: build_production: <<: *node entrypoint: bash - command: '-c "yarn install && yarn build:production:ui:core"' + command: '-c "yarn install && yarn build:production:ui:core && chmod -R 777 ."' volumes: icu_node_modules: