We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1943a5e commit f5cece9Copy full SHA for f5cece9
Dockerfile
@@ -5,8 +5,8 @@ WORKDIR /tmp/build
5
ENV GRADLE_USER_HOME /tmp/build/.gradle
6
7
ADD . /tmp/build
8
-RUN ./gradlew build
9
-RUN native-image -jar ./build/libs/graal-javalin-all-1.0-SNAPSHOT.jar -H:ReflectionConfigurationFiles=reflection.json -H:+JNI \
+RUN ./gradlew build fatJar
+RUN native-image -jar /tmp/build/build/libs/graal-javalin-all-1.0-SNAPSHOT.jar -H:ReflectionConfigurationFiles=reflection.json -H:+JNI \
10
-H:Name=graal-httpserver --static
11
12
FROM scratch
0 commit comments