Skip to content

Conversation

JaninduMunasinghe
Copy link
Collaborator

No description provided.

# Set the working directory
WORKDIR /app

# Copy the built jar file into the container
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we Avoid relying on prebuilt JARs in here? Rather shall we go with some CI/CD friendly Approach? in other words lets handle the JAR build within the Dockerfile.


# Copy the built jar file into the container
COPY target/publisher-0.0.1-SNAPSHOT.jar app.jar

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's follow the same approach here as the consumer for the JAR scenario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants