Open arensade opened 6 months ago
This has more to do about the script being run by the build command than this image. What is your build command running?
RUN npm run build just build qwik js application that works well on all node version expect --platform=linux/amd64. I just test in on at least node:22 node:18 and node:current-alpine but when I add platform its stucks on build layer.
What's the output of the build? It's possible it's building the app for the wrong architecture.
After trying a million alternatives, what magically resolved for me was swapping npm for yarn.
Environment
Expected Behavior
after RUN cmd run build it should goes to push the layer into Remote repo.
Current Behavior
Docker stucks on
RUN npm run build
Possible Solution
Steps to Reproduce