Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile suitable for arm and amd releases #42

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM maven:3.9.7-eclipse-temurin-11-alpine AS build
FROM maven:3.9.9-amazoncorretto-11-alpine AS build
COPY src /app/src
COPY pom.xml /app
RUN mvn -f /app/pom.xml clean package -DskipTests
Expand All @@ -8,4 +8,4 @@ RUN useradd --create-home unprivileged-user
USER unprivileged-user

COPY --from=build /app/target/EvaluationEngine-*-jar-with-dependencies.jar /usr/local/lib/evaluation-engine.jar
ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"]
ENTRYPOINT ["java", "-jar", "/usr/local/lib/evaluation-engine.jar"]