Commit 053af5fe authored by j.hoerdt's avatar j.hoerdt
Browse files

set user in dockerfile

parent 6bf39ffa
......@@ -16,6 +16,7 @@ RUN chmod +x gradlew && ./gradlew jar
FROM adoptopenjdk:15-jre
RUN apt update && apt install -y tar zstd
USER 602046:5200
WORKDIR /sensor2graph
ENTRYPOINT ["bash", "-c", "umask 0007 && java -Djava.util.logging.config.file=logging.properties -jar sensor2graph.jar"]
RUN mkdir logs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment