Skip to content

Commit e19bebd

Browse files
committed
fix docker image and finalName
1 parent 30a57ca commit e19bebd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/aws
2727
rm -rf /tmp/aws /tmp/awscliv2.zip
2828

2929
WORKDIR /app
30-
COPY --from=build /app/target/cake-redux-0.3-SNAPSHOT-jar-with-dependencies.jar app.jar
30+
COPY --from=build /app/target/cake-redux-jar-with-dependencies.jar app.jar
3131
COPY ./config/.enc.prod.env /app/.enc.env
3232

3333
# Remove AWS profile from SOPS config to use container's AWS credentials

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ Addepends = ["infrastructure"]
2525
env = { SLEEPINGPILL_BASE_LOCATION = "http://localhost:8082", NO_AUTH_MODE = "true", SERVER_PORT = "5000", CAKE_LOCATION = "localhost" }
2626
run = [
2727
"mvn clean package",
28-
"java -jar -Xmx512m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 target/cake-redux.jar-jar-with-dependencies.jar env-only"
28+
"java -jar -Xmx512m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 target/cake-redux-jar-with-dependencies.jar env-only"
2929
]

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</dependencies>
104104

105105
<build>
106-
<finalName>${project.artifactId}.jar</finalName>
106+
<finalName>${project.artifactId}</finalName>
107107
<plugins>
108108
<plugin>
109109
<artifactId>kotlin-maven-plugin</artifactId>

0 commit comments

Comments
 (0)