Assuming the above `Dockerfile` is the current directory, your docker image can be built specifying the path to your application jar, as show in the following example:
Assuming the above `Dockerfile` is the current directory, your docker image can be built with `docker build .`, or optionally specifying the path to your application jar, as show in the following example:
[indent=0]
[indent=0]
----
----
...
@@ -62,7 +62,6 @@ Assuming the above `Dockerfile` is the current directory, your docker image can
...
@@ -62,7 +62,6 @@ Assuming the above `Dockerfile` is the current directory, your docker image can
----
----
[[cloud-deployment]]
[[cloud-deployment]]
== Deploying to the Cloud
== Deploying to the Cloud
Spring Boot's executable jars are ready-made for most popular cloud PaaS (Platform-as-a-Service) providers.
Spring Boot's executable jars are ready-made for most popular cloud PaaS (Platform-as-a-Service) providers.