avantgardnerio commented on code in PR #403:
URL: https://github.com/apache/arrow-ballista/pull/403#discussion_r999966092


##########
dev/docker/ballista-scheduler.Dockerfile:
##########
@@ -24,7 +24,16 @@ ENV RUST_LOG=info
 ENV RUST_BACKTRACE=full
 ENV DEBIAN_FRONTEND=noninteractive
 
-RUN apt-get update && apt-get install -y nginx netcat
+RUN apt-get update &&\
+    apt-get install -y nginx netcat nodejs npm
+    
+COPY ballista/ui /root/ballista/ui
+
+RUN cd /root/ballista/ui/scheduler &&\

Review Comment:
   We deliberately got away from building inside the deployment container. If 
you run 
https://github.com/apache/arrow-ballista/blob/master/dev/build-ballista-docker.sh
   
   It should run the build 
https://github.com/apache/arrow-ballista/blob/231d1e3c9936d44c435d1d2fef54178c77e137d7/dev/build-ballista-docker.sh#L22
   
   who's entrypoint calls yarn build 
https://github.com/apache/arrow-ballista/blob/231d1e3c9936d44c435d1d2fef54178c77e137d7/dev/docker/ballista-builder.Dockerfile#L29



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to