Skip to content

Commit aebd6de

Browse files
Merge branch 'Url-Redirect-Filter-Update' into URL-Redirect-Filter
2 parents 6513e43 + 101d1f4 commit aebd6de

30 files changed

+2388
-30
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM maven:3-eclipse-temurin-25-alpine AS build
2+
WORKDIR /build
3+
COPY src/ src/
4+
COPY pom.xml pom.xml
5+
RUN mvn compile
6+
RUN mvn dependency:copy-dependencies -DincludeScope=compile
7+
8+
FROM eclipse-temurin:25-jre-alpine
9+
EXPOSE 8080
10+
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
11+
WORKDIR /app/
12+
COPY --from=build /build/target/classes/ /
13+
COPY --from=build /build/target/dependency/ /dependencies/
14+
COPY /www/ /www/
15+
USER appuser
16+
ENTRYPOINT ["java", "-classpath", "/app:/dependencies/*", "org.example.App"]

0 commit comments

Comments
 (0)