You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CHORE] Rename JAR file reference and ENTRYPOINT in Dockerfile #200
After Issue 1 renames the Maven artifactId to Xtraction, the built JAR will be Xtraction-<version>.jar. The Dockerfile COPY will fail because the destination filename no longer matches the ENTRYPOINT. The production container will fail to start.
Proposed Solution
Update the COPY destination and ENTRYPOINT to reference Xtraction.jar.
User Stories
As a DevOps engineer building the Docker image, I want the Dockerfile to correctly name the JAR so docker build succeeds and the container starts without error.
Acceptance Criteria
COPY --from=build /app/target/*.jar Xtraction.jar
ENTRYPOINT ["java", "-jar", "Xtraction.jar"]
docker build -t xtraction-api . succeeds
docker run xtraction-api starts the Spring Boot application
Activity