Skip to content

Commit

Permalink
feat(docker): adjust Dockerfile to current setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jun 1, 2023
1 parent 29e65af commit 8556169
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
FROM eclipse-temurin:19-jre-alpine

EXPOSE 8080:8080

# run as non-root user
RUN addgroup -g 1001 -S user && adduser -u 1001 -S -s /bin/false -G user user

USER user
COPY ./build/install/org.eclipse.tractusx.managedidentitywallets/ /app/
WORKDIR /app/bin
CMD ["./org.eclipse.tractusx.managedidentitywallets"]

COPY /build/libs/miw-latest.jar /app/

WORKDIR /app

CMD ["java", "-jar", "miw-latest.jar"]

0 comments on commit 8556169

Please sign in to comment.