Skip to content

Commit

Permalink
IS-17464: switch to multistage build
Browse files Browse the repository at this point in the history
  • Loading branch information
BaardBouvet committed May 29, 2024
1 parent eff00d6 commit 65fccc6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN mvn -f /home/app/pom.xml clean package
#
FROM openjdk:11-jre-slim
COPY --from=build /home/app/target/duke-microservice-1.0-SNAPSHOT.jar /srv/
RUN addgroup --system -gid 1000 sesam && adduser --system --disabled-password -H -uid 1000 -gid sesam sesam
EXPOSE 4567
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /srv/duke-microservice-1.0-SNAPSHOT.jar"]

Expand Down

0 comments on commit 65fccc6

Please # to comment.