diff --git a/docker/prepare-dist.sh b/docker/prepare-dist.sh index 77ef3edcc..9742b7a93 100755 --- a/docker/prepare-dist.sh +++ b/docker/prepare-dist.sh @@ -1,11 +1,11 @@ #!/bin/bash -e yarn --pure-lockfile app=${1:-trading} -envCmd="envCmd="yarn env-cmd -f ./apps/${app}/.env.${2:-mainnet}" +envCmd="envCmd="yarn -f ./apps/${app}/.env.${2:-mainnet}" yarn install if [ "${app}" = "trading" ]; then $envCmd yarn nx export trading - DIST_LOCATION=dist/apps/trading/exported + DIST_LOCATION=dist/apps/trading/exported/ else $envCmd yarn nx build ${app} DIST_LOCATION=dist/apps/${app}