0

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

2
  • 1
    Help us help you - share your dockerfile Commented 2 days ago
  • 1
    If you can't give us the content of your Dockerfile can you atleast show us the whole logs. Use this if you are building with docker compose: docker compose --verbose build --no-cache --progress=plain this will log everything. Commented yesterday

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.