Skip to content

Commit 780d445

Browse files
committed
completed the docker containerization
1 parent dbef5a8 commit 780d445

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ WORKDIR /app
66
# Copy project files
77
COPY pom.xml .
88
COPY src ./src
9+
COPY tools ./tools
910

1011
# Build the application (skip tests for faster builds)
1112
RUN mvn clean package -DskipTests -B
@@ -18,6 +19,12 @@ WORKDIR /app
1819
# Copy the JAR
1920
COPY --from=build /app/target/*.jar app.jar
2021

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+
2128
# Expose port
2229
EXPOSE 8080
2330

0 commit comments

Comments
 (0)