docker build updates to improve security

This commit is contained in:
2026-03-11 17:42:51 +00:00
parent ea3eb899e7
commit c605e00e95
3 changed files with 55 additions and 1 deletions
+8
View File
@@ -1,6 +1,14 @@
services:
testpostsbot:
image: slfhstd.uk/slfhstd/testpostsbot:dev
build:
context: .
args:
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
env_file:
- prod.env
user: "${USER_ID:-1000}:${GROUP_ID:-1000}"
restart: unless-stopped
volumes:
- ./DB:/app/DB