diff --git a/publisher/Dockerfile b/publisher/Dockerfile new file mode 100644 index 0000000..a0cc7ca --- /dev/null +++ b/publisher/Dockerfile @@ -0,0 +1,14 @@ +# Use an official OpenJDK image as a base +FROM eclipse-temurin:21-jre + +# Set the working directory +WORKDIR /app + +# Copy the built jar file into the container +COPY target/publisher-0.0.1-SNAPSHOT.jar app.jar + +# Expose the application port +EXPOSE 9219 + +# Run the application +ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file