We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbef5a8 commit 780d445Copy full SHA for 780d445
Dockerfile
@@ -6,6 +6,7 @@ WORKDIR /app
6
# Copy project files
7
COPY pom.xml .
8
COPY src ./src
9
+COPY tools ./tools
10
11
# Build the application (skip tests for faster builds)
12
RUN mvn clean package -DskipTests -B
@@ -18,6 +19,12 @@ WORKDIR /app
18
19
# Copy the JAR
20
COPY --from=build /app/target/*.jar app.jar
21
22
+# Copy the C2PA tool
23
+COPY --from=build /app/tools ./tools
24
+
25
+# Make c2patool executable
26
+RUN chmod +x tools/c2patool/c2patool 2>/dev/null || true
27
28
# Expose port
29
EXPOSE 8080
30
0 commit comments