Exhibit 2390 · Website
Docker Blog: 9 Tips for Containerizing Your Spring Boot Code
Docker Blog
… The ARG instruction specifies variables that are available to the COPY instruction. The COPY copies the JAR file from the target/ folder to your Docker image’s root. The EXPOSE instruction informs Docker that the container listens on the specified network ports at runtime. Lastly, an ENTRYPOINT lets you configure a container that runs as an executable. …