We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 227711d commit 52c9b18Copy full SHA for 52c9b18
docker/Dockerfile
@@ -12,6 +12,9 @@
12
FROM quay.io/eclipse/che-java11-maven:nightly
13
14
WORKDIR /build
15
+RUN chgrp -R 0 /build && \
16
+ chmod -R g=u /build
17
+
18
# Build dependency offline to streamline build
19
COPY pom.xml .
20
RUN mvn dependency:go-offline
@@ -20,6 +23,7 @@ COPY src src
23
RUN mvn package -Dmaven.test.skip=true
21
24
22
25
FROM openjdk:11-jdk
26
+WORKDIR /build
27
COPY --from=0 /build/target/demo-0.0.1-SNAPSHOT.jar /app/target/demo-0.0.1-SNAPSHOT.jar
28
29
EXPOSE 8080
0 commit comments