Create custom app within docker container

Can we create a custom app within a docker container ?
I know that Frappe has some restrictions in docker production. I tried to use the new-app command and install-app command but it’s always failing and bringing up some kind of trouble.

Do I have to create the app externally and then import it inside the container ?

You have to setup dev environment using docker. Create the app there, make changes, push to git. Then in apps.json add git link and when building the Custom image it will pull and install.

1 Like

Thank you for your response. It answers my question.