How to dockerize your Spring Boot API | Docker Tutorial

Veröffentlicht am: 08 November 2022
auf dem Kanal: Daniel Smidstrup
136,261
2k

A few weeks ago I created a video showcasing how we can set up a simple Spring Boot REST API, I now wanted to showcase how we can move this API into a Docker container and then run it.

IMPORTANT: OpenJDK is now deprecated and we should use "eclipse-temurin:17" instead. OpenJDK will still work but is not getting any new updates.

NOTE: the second line in the Dockerfile does not have any effect in this example; it merely searches for any JAR file, which can then be utilized, as the third line copies the JAR_FILE instead of directly placing the file.

Spring Boot API Tutorial:    • How to create an REST API in Spring boot u...  

My channel publishes programming and software engineering videos, especially Java and Python. If that is what you want, do not hesitate to join me on this journey!

Subscribe to my YouTube channel:
   / @danielsmidstrup  


Auf dieser Seite können Sie das Online-Video How to dockerize your Spring Boot API | Docker Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Daniel Smidstrup 08 November 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 136,261 Mal angesehen und es wurde von 2 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!