Strange frappe behaviour - docker

So I have this app, that I run in a docker container.
The strange thing is, that sometimes, after I restart the app (or update it) the whole interface becomes mangled, like so:


I am working on a test environment, so it’s easy enough for me to recreate the entire system, but it is annoying…
The host is a fedora 42 machine and I start the docker when I need to work on the development.
Any ideas of what can be the cause and how to avoid it?

1 Like

Check Crashing frontend - #2 by revant_one

if you’re using development setup, “bench start” should take care of build and rebuild.

2 Likes

Nope, sadly this isn’t it…
I am using frappe docker’s “production” flavor.

Developing in production container is not recommended.

Use my script to quickly spin up development containers

I am aware of this.
But after dev comes prod.
Before applying to production I test.
And just as was in test was in production.
So I deleted everything (including caches and volumes and networks etc.) and recreated everything from scratch. Then I restored the data.
Just wondered what could cause this (couldn’t wait for production anymore…).

Im not sure what happened but follow the more logical flow of

  1. Develop in development container
  2. Install on test production container (don’t adjust your code here, just test how your app behaves in production)
  3. Install on your production server

I guess we’ll never know…
Thanks :slight_smile: