RUN npm run build has been stuck in Dockerfile.

dva builds a front-end project. When
Docker build, it is not executed every time the npm run build is executed, and remains unchanged after the build is displayed.
npm install can execute

Mar.10,2021

have you added all the files needed for npm run build to the Docker container? Before executing npm run build , you need to ADD.


the problem has been solved. Dva will install the latest roadhog, version 2.3.0. Execution in docker will hang. Just lower the version to 2.2.0

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6db7-1e0b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6db7-1e0b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?