Use unprivileged user to run seb-server

This commit is contained in:
Bengt Giger 2020-12-16 08:33:01 +01:00
parent a96064b0c4
commit dd0ccc0ca7
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ ENV JMX_PORT="9090"
ENV SERVER_PWD=somePW
RUN groupadd --system spring && useradd --system --gid spring spring
# USER spring:spring
USER spring:spring
COPY docker/demo/config/ /sebserver/config/
COPY seb-server-$SEBSERVER_JAR.jar /sebserver/seb-server-$SEBSERVER_JAR.jar

View file

@ -14,7 +14,7 @@ logging.level.ROOT=WARN
logging.level.ch=DEBUG
# Log file name and location
# TODO: logging should go to stdout
logging.file=/sebserver/log/sebserver.log
logging.file=/dev/stdout
##########################################################
### SEB Server Webservice configuration