Running things as root is bad.

This commit is contained in:
needo37
2018-08-21 00:31:42 -05:00
committed by GitHub
parent 38af27f938
commit 7841a2eb47

View File

@@ -101,4 +101,7 @@ RUN apk add --no-cache --update libpurple \
EXPOSE 6667 EXPOSE 6667
RUN addgroup -g 996 -S bitlbee
RUN adduser -u 996 -D -S -G bitlbee bitlbee
USER bitlbee
ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ] ENTRYPOINT [ "/usr/sbin/bitlbee", "-F", "-n" ]