diff --git a/Dockerfile b/Dockerfile index e39ef3a..fe43e48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,2 @@ -FROM openjdk -COPY target/*.jar / -EXPOSE 8080 -ENTRYPOINT ["java","-jar","/my-app-1.0-SNAPSHOT.jar"] \ No newline at end of file +FROM nginx +COPY index.html /usr/share/nginx/html diff --git a/index.html b/index.html new file mode 100644 index 0000000..9caa579 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + +Welcome to nginx! + + + +

Welcome to nginx!

+

If you see this page, the nginx web server is successfully installed and +working. Further configuration is required.

+

For online documentation and support please refer to +nginx.org.
+Commercial support is available at +nginx.com.

+

Thank you for using nginx.

+ +