Commit 35408457 authored by j.hoerdt's avatar j.hoerdt
Browse files

make workdir writable for special user

parent 053af5fe
......@@ -16,8 +16,8 @@ RUN chmod +x gradlew && ./gradlew jar
FROM adoptopenjdk:15-jre
RUN apt update && apt install -y tar zstd
USER 602046:5200
WORKDIR /sensor2graph
RUN chmod -R o+w .
ENTRYPOINT ["bash", "-c", "umask 0007 && java -jar sensor2graph.jar"]
RUN mkdir logs
COPY --from=compile /sensor2graph/build/libs/sensor2graph.jar /sensor2graph/
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