How to handle large MDA file size when building with Mendix Docker Buildpack?

0
Hi everyone,I’m currently building my Mendix app using the Docker Buildpack, but my .mda file is quite large and it causes the build process to be slow or sometimes fail due to size limits. Are there any recommended ways to reduce or handle large .mda files during the Docker build process?For example: Can I build directly from the Mendix project source instead of using the .mda file? Are there best practices to optimize or clean the project before creating the .mda? Would using a .dockerignore file help in this case? Any advice or examples from your experience would be really helpful.Thanks in advance!
asked
1 answers
0

1. Yes, you can. The buildpack also accepts the mda file as input. Read the dockerfile for more details

2. Remove unnecessary custom widgets, clean userlib with mendix-userlib-cleaner, worst case perhaps time to split your app into smaller ones

3. no that does not really help. Most files are needed for compilation. Get faster disk and cpu for your build machine.

answered