Skip to content

Commit

Permalink
Fixed artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
jschm42 committed Nov 4, 2023
1 parent 84f8b6d commit dd61303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amazoncorretto:20-alpine-jdk
FROM amazoncorretto:19-alpine-jdk

# 8090 is the port number the application will use
EXPOSE 8090
Expand All @@ -11,7 +11,7 @@ RUN apk add --no-cache graphviz ttf-dejavu fontconfig freetype
VOLUME /data

# copy jar
COPY ./app/target/app-*.jar /usr/local/lib/talkforgeai.jar
COPY ./app/target/talkforgeai-*.jar /usr/local/lib/talkforgeai.jar

# startup command
CMD java -DTALKFORGEAI_DATADIR=/data -jar /usr/local/lib/talkforgeai.jar --spring.config.additional-location=/usr/local/talkforgeai/talkforgeai.properties
12 changes: 1 addition & 11 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@

<artifactId>app</artifactId>

<properties>
<maven.compiler.source>20</maven.compiler.source>
<maven.compiler.target>20</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jar.finalName>talkforgeai</jar.finalName>
</properties>

<dependencies>
<dependency>
<groupId>com.talkforgeai</groupId>
Expand All @@ -53,7 +46,7 @@
</dependencies>

<build>
<finalName>talkforgeai</finalName>
<finalName>talkforgeai-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -124,9 +117,6 @@

<profile>
<id>docker</id>
<properties>
<jar.finalName>talkforgeai-server</jar.finalName>
</properties>
</profile>

</profiles>
Expand Down

0 comments on commit dd61303

Please sign in to comment.