dockerapache-superset

Build superset image with personalized logo


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 ?

Render of superset dashbard


Solution

  • 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.