Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ ARG OTEL_JAVA_AGENT_VERSION=2.18.1

WORKDIR /app

RUN addgroup -S konect && adduser -S konect -G konect
RUN addgroup -S konect && adduser -S konect -G konect \
&& mkdir -p /app \
&& chown -R konect:konect /app \
&& chmod 755 /app \

COPY build/libs/KONECT_API.jar KONECT_API.jar
COPY opentelemetry-javaagent.jar opentelemetry-javaagent.jar

RUN chown -R konect:konect /app

USER konect:konect

EXPOSE 8080
Expand Down
Loading