diff options
author | Zuul <zuul@review.opendev.org> | 2020-07-08 18:23:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-07-08 18:23:41 +0000 |
commit | 141347e0820cc1340dddbf6168fb183c83e313ba (patch) | |
tree | 262bc016909d1be89b3e812672b83d22df2a8916 /Dockerfile | |
parent | 58cac8d3558dcc6ea571063d14ef9b6b0b53e4e1 (diff) | |
parent | b6f3167b9c4d219daddf6a86ab4df9a8eed4bec8 (diff) | |
download | zuul-141347e0820cc1340dddbf6168fb183c83e313ba.tar.gz |
Merge "Revert "Revert "Create zuul/web/static on demand"""
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index ed6b8ddf2..015e4ef4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,12 @@ ARG OPENSHIFT_SHA=4b0f07428ba854174c58d2e38287e5402964c9a9355f6c359d1242efd0990d COPY . /tmp/src RUN /tmp/src/tools/install-js-tools.sh # Explicitly run the Javascript build -RUN cd /tmp/src/web && yarn install -d && yarn build +RUN cd /tmp/src \ + && mkdir -p zuul/web/static \ + && ln -sfn ../zuul/web/static web/build \ + && cd /tmp/src/web \ + && yarn install -d \ + && yarn build RUN assemble # The wheel install method doesn't run the setup hooks as the source based |