Skip to content

Commit 6f2a4a3

Browse files
committed
fix hardcoded java dockerfile, use wildcard in source path of copy
1 parent 93a5438 commit 6f2a4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.java renamed to Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
WORKDIR /app
44

55
# Only copy the JAR if it exists
6-
COPY ./target/concore-0.0.1-SNAPSHOT.jar /app/concore.jar
6+
COPY ./target/concore-*.jar /app/concore.jar
77

88
# Ensure the JAR file is executable if present
99
RUN [ -f /app/concore.jar ] && chmod +x /app/concore.jar || true

0 commit comments

Comments
 (0)