docker build updates to improve security
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user