Fix #184 and update docker build to include widgets (#185)

This commit is contained in:
shyallegro 2023-03-07 11:26:12 +02:00 committed by GitHub
parent 3a2675abe1
commit 5d014d81af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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