Creating image from management center repo

hi,

we trying to customizing management center and creating a image from this, but when with out any changes on code, we creating an images from it and run it, its show a white screen after success login.

i’m new on react but i follow this commands for creating image:

# git switch release/2.2
# cd backend
# yarn
# cd ../frontend
# yarn
# yarn run build
# cd ../
# docker build -t mc .
# docker run -dp 8088:8088 mc

Thanks,
Mostafa

Hi,

the project is configured as Yarn workspace. Have you tried to run the following command onthe top level of the project?

yarn workspace @cedalo/management-center-frontend run build --verbose

And then use your docker command to build the Docker image.

Best regards,
Philip

1 Like