Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes UI assets compilation from PROD image built from sources (apach…
…e#17086) The apache#16577 change removed yarn.lock from installed packages and it removed the possibility of preparing assets after the package is installed - so far that was the way it was done in the PROD image built from sources. The asset compilation was supposed to work after the change but it was not performed in this case. The change fixes it by: * detecting properly if the PROD image is built from sources (INSTALLATION_METHOD) * compiling the assets from sources, not from package * installing airflow from sources AFTER assets were compiled Fixes apache#16939 (cherry picked from commit 660027f)
- Loading branch information