FINRAOS / aphelion

Aphelion is a web application that captures and visualizes your AWS services usage limits. It continuously collects data in the background and you can visualize the data in easy-to-see graphs and charts.

Home Page:https://finraos.github.io/aphelion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dockerfile referencing JAR file that is missing

JohnTheodore opened this issue · comments

"ADD target/*.jar /opt/staging" <- this line from Dockerfile.. what jar file is this? Is there a way I can just download/compile this myself?

The Dockerfile "ADD target/*.jar" line refers to the compiled jar file by the Spring Boot application. In that folder you can run mvn clean install to generate the folder and *.jar file. Note that you need to have Maven installed on your machine to compile the application.

@JohnTheodore - We are setting up CI for this project so we will have a script that builds all the code and run docker to create the images. The script will include the necessary builds including mvn. For now, as @HurielHernandez mentioned above, you can run maven install to create the jar files in target directory then run docker to create the image.