fixing docker file and adding knative deployment yaml

This commit is contained in:
2020-04-18 21:03:03 +02:00
parent bb8e09c5e2
commit 5c033cbbdc
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ RUN mvn package -DskipTests
# It's important to use OpenJDK 8u191 or above that has container support enabled.
# https://hub.docker.com/r/adoptopenjdk/openjdk8
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
FROM adoptopenjdk/jdk-11.0.6_10-alpine-slim
FROM adoptopenjdk/openjdk11:jdk-11.0.6_10-alpine-slim
# Copy the jar to the production image from the builder stage.
COPY --from=builder /app/target/chuckjokes-*.jar /chuckjokes.jar