Wanted to customize the Corteza application's frontend

I wanted to customize the Corteza application’s frontend. I forked Corteza’s official repository.
To achieve my customization:

  1. First Attempt (Using Prebuilt Dist File):
  • I downloaded the prebuilt dist tar file for the frontend directly from their website.
  • I modified the Dockerfile to use this manually downloaded dist file.
  • I built the Docker image, and it worked perfectly as expected.
  1. Second Attempt (Customizing the Frontend):
  • I cloned the full Corteza project from their GitHub repository.
  • I made changes to the frontend code provided in the project.
  • I used yarn to build the updated frontend, which generated a new dist directory which gives some error.
  • I created a new Docker image using my updated dist files.
  1. The Problem:
  • When I ran the new Docker image, the application launched, but the frontend was broken.
  • It appeared that styles and other assets were not loading properly, resulting in a messy, unstyled interface.

Goal:
I want to correctly build and deploy a customized version of the Corteza frontend with my changes, ensuring that all assets (e.g., styles, scripts) load properly.

1 Like

Guessing this error is the reason. Building Corteza by yourself can be a big task, especially if you don’t have much experience with it.
Either need more info on the errors or you’ll have to dig through them yourself.