Deploying liteFS with python

I feel like the way i’m trying to deploy should be most trivial, yet cannot find suitable docs.

Using Dockerfile to run a telegram bot. It also has a webhook on 0.0.0.0:8080.

Using sqlite with liteFS, created separate volume. Dockerfile ends with

ENTRYPOINT litefs mount

Then I’m supposed to start my app in litefs.yml, right?
So what i’m trying to do is to come up with some kind of exec command that would run my app after liteFS starts

exec:
cmd: [“python”, “bot.py”]

this is what i’m using now, but clearly this is not the way

Added databases, litefs, sqlite

Hi… Try a space-delimited string instead:

exec:
  - cmd: "python bot.py"

Hope this helps!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.