How can I resolve the issue where Strapi hangs during Docker container build at the following step?
=> [strapi 8/8] RUN npm run build
=> => # - STRAPI_ANALYTICS_URL
=> => # ✔ Building build context (180ms)
=> => # - Building admin panel
=> => # Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
=> => # npx update-browserslist-db@latest
=> => # Why you should do it regularly: https://github.com/browserslist/update-db#readme
The process stalls indefinitely until a server reboot, after which subsequent attempts work fine. Running on Ubuntu 24.04 LTS with configuration:
- CPU: 2x3.4 GHz
- RAM: 4 GB
- Storage: 50GB NVMe
Strapi version: v5.20.0
Dockerfilecan you atleast show us the whole logs. Use this if you are building with docker compose:docker compose --verbose build --no-cache --progress=plainthis will log everything.