strapi-docker icon indicating copy to clipboard operation
strapi-docker copied to clipboard

added missing build step to access admin end

Open mwanjajoel opened this issue 3 years ago • 2 comments

This pull request fixes the error Error: ENOENT: no such file or directory, open '/srv/app/build/index.html' when strapi is run in production.

The cause of the error is the missing build step for the admin dashboard and the fix is to add the command bash -c "strapi build && strapi start"

mwanjajoel avatar Feb 10 '21 01:02 mwanjajoel

CLA assistant check
All committers have signed the CLA.

strapi-cla avatar Feb 10 '21 01:02 strapi-cla

okay

drullandev avatar Feb 22 '21 00:02 drullandev