Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhofmann committed Sep 16, 2024
1 parent a4a56c7 commit dcc88e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM eclipse-temurin:17-jre
RUN addgroup spring && adduser spring --ingroup spring
RUN groupadd -r spring -g 501 && \
useradd -d /home/spring -u 501 -m -s /bin/bash -g spring spring
USER spring:spring
WORKDIR /home/spring/
COPY target/mycore-importer-cli.jar cli.jar
COPY target/mycore-importer-webapp.jar webapp.jar
ENTRYPOINT ["java","-jar"]
Expand Down

0 comments on commit dcc88e3

Please sign in to comment.