Skip to content

Commit

Permalink
chore(viewer): Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rkettelerij committed Jul 8, 2024
1 parent 4cd19d6 commit 055f6af
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@ COPY --from=build-env /gokoala /
COPY --from=build-env /go/src/service/assets/ /assets/
COPY --from=build-env /go/src/service/internal/ /internal/

# include view-component webcomponent as asset
COPY --from=build-component /usr/src/app/dist/view-component/styles.css /assets/view-component/styles.css
COPY --from=build-component /usr/src/app/dist/view-component/main.js /assets/view-component/main.js
COPY --from=build-component /usr/src/app/dist/view-component/polyfills.js /assets/view-component/polyfills.js
COPY --from=build-component /usr/src/app/dist/view-component/runtime.js /assets/view-component/runtime.js
# include viewer as asset
COPY --from=build-component /usr/src/app/dist/view-component/browser/ /assets/view-component/
COPY --from=build-component /usr/src/app/dist/view-component/3rdpartylicenses.txt /assets/view-component/3rdpartylicenses.txt

# run as non-root
Expand Down

0 comments on commit 055f6af

Please sign in to comment.