Commit f1139b5
authored
implement appuser for running container as non-root (#462)
* Create non-root user and set permissions in Dockerfile
Added non-root user and adjusted permissions for security.
* Refactor Dockerfile for non-root user and dependencies
Updated Dockerfile to create a non-root user with home directory, install system dependencies including ffmpeg, and set permissions for application directories.
* Refactor Dockerfile for improved setup
Updated Dockerfile to streamline dependencies and user setup.1 parent 2286f0f commit f1139b5
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
20 | 31 | | |
21 | | - | |
| 32 | + | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
25 | | - | |
| 37 | + | |
0 commit comments