NodeBB already contains a Dockerfile and is publishing docker images to docker hub.
It appears to me that the Dockerfile is not preparing all the required steps during the Docker build phase, but leave some parts for run time.
It appears to me that
./nodebb build needs to run to prepare all the assets, minified js and more, and this command is not executed during Docker build phase, right?
I'm trying to add
RUN ./nodebb build as part of the Dockerfile, but it fails because it requires configuration to a running database in order to complete the build. This feels strange, why would the build phase need access to the database? Is there any shortcut to make the build command work without a database? Something like executing grunt directly or similar.