diff --git a/docker/build/Dockerfile b/docker/build/Dockerfile index 906e8bc..ed23053 100644 --- a/docker/build/Dockerfile +++ b/docker/build/Dockerfile @@ -24,6 +24,7 @@ COPY docker/build/internal_files/clearml_subpath.conf.template /tmp/internal_fil RUN /bin/bash -c '/tmp/internal_files/final_image_preparation.sh' COPY --from=webapp /opt/open-webapp/build /usr/share/nginx/html +COPY --from=webapp_builder /opt/open-webapp/dist/report-widgets /usr/share/nginx/widgets EXPOSE 8080 EXPOSE 8008 diff --git a/docker/build/internal_files/build_webapp.sh b/docker/build/internal_files/build_webapp.sh index 52a54c9..541458c 100644 --- a/docker/build/internal_files/build_webapp.sh +++ b/docker/build/internal_files/build_webapp.sh @@ -3,7 +3,8 @@ set -x set -e cd /opt/open-webapp/ -npm ci --unsafe-perm node-sass +npm ci --legacy-peer-deps cd /opt/open-webapp/ npm run build +npm run build-widgets