Merge pull request 'Run as non-root (911:911), bump to 4.1.0' (#30) from dev-v4.1 into main
CI / build-and-scan (push) Successful in 36s
CI / build-and-scan (push) Successful in 36s
Reviewed-on: #30
This commit was merged in pull request #30.
This commit is contained in:
@@ -20,4 +20,8 @@ CMD ["pytest", "-v"]
|
||||
|
||||
FROM base
|
||||
|
||||
RUN addgroup -g 911 nvbot && adduser -D -u 911 -G nvbot nvbot
|
||||
|
||||
USER nvbot
|
||||
|
||||
CMD ["python", "main.py"]
|
||||
|
||||
Reference in New Issue
Block a user