Skip to content

Conversation

@AlexAxthelm
Copy link
Contributor

@AlexAxthelm AlexAxthelm commented Dec 5, 2024

Run npm run build in docker image to generate built dashboard files in docker image (making them available for COPY --from in other images)

Closes #128

Supports RMI-PACTA/workflow.pacta.dashboard#33

@github-actions
Copy link

github-actions bot commented Dec 5, 2024

Docker build status

commit_time git_sha image
2024-12-09T16:40:03Z d509d03 ghcr.io/rmi-pacta/pacta-dashboard-svelte:pr-129

@github-actions
Copy link

github-actions bot commented Dec 6, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-12-09 16:43 UTC

@AlexAxthelm AlexAxthelm requested a review from jdhoffa December 9, 2024 15:43
scripts/build.sh Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should probably also rename this script, since it doesn't build at all anymore?

Since it's a single line, I would just remove the script altogether, and call the cp command in-line in the Dockerfile

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. d509d03

Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@AlexAxthelm AlexAxthelm merged commit 0c1285c into main Dec 9, 2024
11 checks passed
@AlexAxthelm AlexAxthelm deleted the build/128-build-in-image branch December 9, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build app in image

3 participants