I installed Ghost 4.2.1 from source and I’m unable to load the admin dashboard.
According to logs, this file is missing:
no such file or directory, stat '/var/lib/ghost/core/server/web/admin/views/default.html
I searched through the related repositories and could only find configurations that reference this file, therefore I was unable to simply download it manually and copy it.
Why are you making a docker file for this? What are you trying to achieve?
Did you follow the instructions exactly, including the Admin submodule setup? I’d suggest ditching Docker and following the instructions as they are before you complicate the process.
Previously I ran this by setting up based on the instructions. Rechecked, still works fine that way.
Though it would have been important due to portability to have this Dockerized, I’ll go on with the simpler solution for a while, as suggested.
I wouldn’t call that a solution. The file being missing points to your setup being incorrect and the admin client is not being built. If you’re running from source then there’s no guarantee that a published version from an older version of the Admin source will work with the latest main in Ghost.