summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e1a30d5b3..c67e93d52 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,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