diff options
author | Monty Taylor <mordred@inaugust.com> | 2020-02-11 09:50:59 -0600 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2020-02-11 12:21:17 -0600 |
commit | a864a23cac085265e2328e4bba0ebe90f05f5f73 (patch) | |
tree | 463ece6cd9cdce7f4f40dc6d8be57bcf7ce0ee53 /Dockerfile | |
parent | a9eafb572568ecd10d8cdbdc654f9d5bbeac7248 (diff) | |
download | zuul-a864a23cac085265e2328e4bba0ebe90f05f5f73.tar.gz |
Run yarn explicitly in Dockerfile
Rather than relying on the setup hook to build the javascript
on demand, we always want to build the javascript in the container
context, so just run yarn explicitly.
Change-Id: Iaf456a78b5f798d3b4d05aa3925beb920dc56258
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index b86655ec6..3554fab00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ 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 assemble # The wheel install method doesn't run the setup hooks as the source based |