Commit Graph

8 Commits

Author SHA1 Message Date
tigeren c3fea47248 fix(docker): change default user to root and update entrypoint script
- Set default UID and GID environment variables to 0 (root) in Dockerfile
- Update entrypoint script to reflect running as root is now default behavior
- Remove ownership change commands for directories in entrypoint script
- Log the running user message with updated UID and GID values
- Ensure application runs with su-exec using root user credentials
2025-11-08 09:41:03 +00:00
Phus Lu a9894a4028
Use "exec python3" in docker-entrypoint.sh
To reduce the processes in metube container
2025-09-24 12:03:36 +08:00
breakid ccff77647c Added support for yt-dlp 'temp' path
- Added support for yt-dlp 	emp path
- Formatted with Black
- Updated README to reflect new TEMP_DIR setting; linted
- Modified Dockerfile to strip carriage return characters from docker-entrypoint.sh script to fix building the image on Windows
- Added example docker-compose.yml config
2023-05-09 16:05:38 -04:00
Alex Shnitman dccf8d5bf6 refactor of the entrypoint feature 2022-06-19 22:19:13 +03:00
羽先生 24daafb095
typo `Warning` 2022-06-07 20:46:59 +08:00
羽先生 efb0001708 Use legacy mode when user runs with `--user` parameter, otherwise, use `su-exec` 2022-06-05 09:55:22 +08:00
羽先生 7a5ea73de2 add default timezone env parameter 2022-05-29 21:35:09 +08:00
羽先生 2a144e73ed use gosu and usermod to ensure data permissions 2022-05-29 16:06:38 +08:00