diff --git a/docker-spring-boot/Dockerfile b/docker-spring-boot/Dockerfile index fe5b723..2c15af0 100644 --- a/docker-spring-boot/Dockerfile +++ b/docker-spring-boot/Dockerfile @@ -1,8 +1,8 @@ # For Java 8, try this -# FROM openjdk:8-jdk-alpine +FROM openjdk:8-jdk-alpine # For Java 11, try this -FROM adoptopenjdk/openjdk11:alpine-jre +#FROM adoptopenjdk/openjdk11:alpine-jre # Refer to Maven build -> finalName ARG JAR_FILE=target/spring-boot-web.jar @@ -18,4 +18,4 @@ ENTRYPOINT ["java","-jar","app.jar"] ## sudo docker run -p 8080:8080 -t docker-spring-boot:1.0 ## sudo docker run -p 80:8080 -t docker-spring-boot:1.0 -## sudo docker run -p 443:8443 -t docker-spring-boot:1.0 \ No newline at end of file +## sudo docker run -p 443:8443 -t docker-spring-boot:1.0 diff --git a/docker-spring-boot/pom.xml b/docker-spring-boot/pom.xml index a859604..c417686 100644 --- a/docker-spring-boot/pom.xml +++ b/docker-spring-boot/pom.xml @@ -19,9 +19,9 @@ UTF-8 - 11 - 11 - 11 + 8 + 8 + 8 @@ -72,4 +72,4 @@ - \ No newline at end of file + diff --git a/docker-spring-boot/src/main/resources/templates/fox_in_the_hills.jfif b/docker-spring-boot/src/main/resources/templates/fox_in_the_hills.jfif new file mode 100644 index 0000000..d398a28 Binary files /dev/null and b/docker-spring-boot/src/main/resources/templates/fox_in_the_hills.jfif differ diff --git a/docker-spring-boot/src/main/resources/templates/general-info_2.jpg b/docker-spring-boot/src/main/resources/templates/general-info_2.jpg new file mode 100644 index 0000000..550d116 Binary files /dev/null and b/docker-spring-boot/src/main/resources/templates/general-info_2.jpg differ diff --git a/docker-spring-boot/src/main/resources/templates/index.html b/docker-spring-boot/src/main/resources/templates/index.html index 3107ea0..26b060c 100644 --- a/docker-spring-boot/src/main/resources/templates/index.html +++ b/docker-spring-boot/src/main/resources/templates/index.html @@ -16,10 +16,11 @@

Default title.

Default text.

+
- \ No newline at end of file +