About LibreTranslate docker image Downloaded models volumes

Hey guys. Im using libretranslate through it docker image,

  libretranslate:
    image: libretranslate/libretranslate:latest
    volumes:
      - ./.ai/libretranslate/models/:/home/libretranslate/.local/share/argos-translate/packages/
    ports:
      - 5001:5000

but, everytime I docker compose up all models are downloaded again within the image in this dir: /home/libretranslate/.local/share/argos-translate/packages/. But when I try to share the volume it throws me I have no permission to access the directory.

I can’t also give chmod -R 777 permissions because the base image has not installed chmod, I cannot install it neither … and so on. Is there any mechanism or maybe env variable or config value to sort this out and store locally the volume with the models to have them permanently?

Try to specify an absolute path here.