[frappe_docker] Assets not being build

Hi guys,

I have a custom app with has custom CSS and JS.
I have included those to build.json to has the final assets
But when include that app to frappe_docker images it seem those asset is not being build.

Am I missing something ?

Check this GitHub - castlecraft/custom_frappe_docker

It has posawesome which builds assets

1 Like

Thank you very much,
In fact I use your repository :smiley:
The only different can be I use Debian on top on Windows 10 WSL2
I will try with Ubuntu

I used this repo but still not building the assets. I am trying to deploy my custom app for more than 5 days.It is not building assets for posawesome module also. It just gets frustating.

warning " > vuetify@2.3.10" has unmet peer dependency "vue@^2.6.4".
[4/4] Building fresh packages...
Done in 3.18s.
yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.35s.
yarn run v1.22.5
$ node esbuild --production --skip_frappe --app posawesome
File                                                        Size

 DONE  Total Build Time: 317.807ms

clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
 WARN  Cannot connect to redis_cache to update assets_json
 WARN  Cannot connect to redis_cache to update assets_json
 WARN  Cannot connect to redis_cache to update assets_json

I think esbuild is used on develop branch

give me list of apps and I’ll share a diff branch like this Comparing main...isppme · castlecraft/custom_frappe_docker · GitHub