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
This commit is contained in:
parent
a9eafb5725
commit
a864a23cac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue