I'm trying to build a custom Docker image of Apache Superset that displays my own logo. However I can't figure out what is the little mistake I'm making. My project is structured as follows:
my_directory/
├── Dockerfile
├── logo.png
├── superset_config.py
The custom path for the logo in superset_config.py:
...
APP_ICON="/static/assets/images/logo.png"
...
In the Dockerfile, I copy the configuration file and the logo image to the expected locations inside the container
...
COPY superset_config.py /app/superset_config.py
COPY logo.png /app/static/assets/images/logo.png
...
What should I adjust to get the custom logo to render correctly in my Superset image ?
I initially copied logo.png to the wrong location. To fix this, I locate the correct path of the default image inside my Docker container and use it as a reference.
$ docker exec -it <my container id>superset-logo-horiz.png): $ find / -name "superset-logo-horiz.png"COPY logo.png /usr/local/lib/python3.10/site-packages/superset/static/assets/images/logo.png