Commit c18287d
Fix API non-root permission issues (#22)
fix: grant non-root user access to Prisma query engine in Docker
The Prisma query engine binary in site-packages was not accessible
to the non-root appuser, causing "Not connected to the query engine"
errors. Use chown with a glob pattern to transfer ownership of the
prisma package directory to appuser, avoiding hardcoded Python version
and world-readable permissions.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5fdaa2c commit c18287d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
0 commit comments