fix(docker): fix the permissions issue when running Docker Compose

Docker Compose mount the volumes as root by default and the node user can't access the SQLite DB (read-only)
This commit is contained in:
Damien Laureaux 2024-11-14 23:02:53 +01:00
parent e710452a37
commit 1c0437f380
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D
2 changed files with 11 additions and 6 deletions

View file

@ -12,6 +12,8 @@ services:
perplexica-backend:
build:
context: .
args:
- USER=root
dockerfile: backend.dockerfile
image: itzcrazykns1337/perplexica-backend:main
depends_on: