Custom App Docker Image build

I am following these instructions to build a custom image:

I am stuck on the last step:

Install like usual, except that when you set the INSTALL_APPS variable to erpnext,[custom] .

I thought ‘usual’ means this:

docker-compose --project-name <project-name> up -d

but this is not building the custom image

Refer Error while building Docker image for custom app - #4 by revant_one

I did exactly this yesterday on the shared post.

Use GitHub - castlecraft/custom_frappe_docker for reference

Check this diff and make changes as per your app(s) Comparing main...isppme · castlecraft/custom_frappe_docker · GitHub

Share your app url and I’ll share a diff branch like isppme

You’ll have to run “docker build …” command to build the images

This my test app Bitbucket

Almost there, thanks!

I can now build the images and start containers.

I am now getting SSL errors from traefik

traefik_1 | time="2021-08-24T06:00:50Z" level=debug msg="http: TLS handshake error from *:42888: remote error: tls: unknown certificate"

what is the .env file?

site names should resolve as a domain name.

I had errors in traefik labels, now everything works perfectly. Thanks @revant_one

1 Like

What is the correct way to do bench update?

  1. Redeploying containers with new images
  2. run migrate with new container/new image
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.