Skip to content

Commit

Permalink
docker: rm folder (using workdir)
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroslavNasonov committed Dec 23, 2024
1 parent c58ff5c commit ab1ca58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gym-rest-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ RUN mvn clean package -DskipTests
#FROM openjdk:17-jdk-slim
FROM bellsoft/liberica-openjre-alpine-musl:23
WORKDIR /app
COPY --from=build /app/target/gym-1.0.jar /app/app.jar
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
COPY --from=build /app/target/gym-1.0.jar /app.jar
ENTRYPOINT ["java", "-jar", "/app.jar"]
EXPOSE 8080

0 comments on commit ab1ca58

Please sign in to comment.