fixing docker file and adding knative deployment yaml
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user