Skip to content

Use multistage build for node assets#142

Merged
niquerio merged 4 commits intomainfrom
dockerfile-node-major-lts
May 8, 2026
Merged

Use multistage build for node assets#142
niquerio merged 4 commits intomainfrom
dockerfile-node-major-lts

Conversation

@erinesullivan
Copy link
Copy Markdown
Contributor

@erinesullivan erinesullivan commented May 6, 2026

Overview

We want to have dependabot keep node up to date. The most straightforward way to do that is to separate out the building of js assets from the ruby app. That means the ruby image can't run node, but we don't need it to run the app.

The js/css docker compose services need to use the assets target instead of the main web target.

…-term support version of Node.js in our Dockerfile.
@erinesullivan erinesullivan self-assigned this May 6, 2026
@erinesullivan erinesullivan requested a review from niquerio as a code owner May 6, 2026 14:28
@erinesullivan erinesullivan added the docker Pull requests that update docker code label May 6, 2026
We want to have dependabot keep node up to date. The most
straightforward way to do that is to separate out the building of js
assets from the ruby app. That means the ruby image can't run node, but
we don't need it to run the app.

The js/css docker compose services need to use the assets target instead
of the main web target.
@niquerio niquerio force-pushed the dockerfile-node-major-lts branch from bcf1b38 to 8c6e33c Compare May 6, 2026 16:11
@niquerio niquerio changed the title Changing NODE_MAJOR to lts. Use multistage build for node assets May 6, 2026
@niquerio niquerio merged commit 255e863 into main May 8, 2026
3 checks passed
@niquerio niquerio deleted the dockerfile-node-major-lts branch May 8, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants