I have the same problem. Solved it manually, but should probably do something more sustainable about this.
Manual adjustment between prod/dev builds
Dev environment is ARM Dev environment should not copy filesHere are the relevant parts from my Dockerfile.
#When building for AWS, we need amd64 FROM --platform=linux/amd64 jsreport/jsreport:4.3.1 #When building for local Docker, we need arm64 #FROM --platform=linux/arm64 jsreport/jsreport:4.3.1 # These three COPY statements has to be remarked when the container is ran via docker-compose # otherwise the local volume will not be mounted via docker-compose. I have no clue why.. COPY --chown=jsreport:jsreport license-key.txt /app COPY --chown=jsreport:jsreport ./mounted/jsreport.config.json /app COPY --chown=jsreport:jsreport ./mounted/data /app/data