Do you know if it is possible to have a Spring Boot app running on a docker container and run the pico-cli example from the CLI with "java -c path-to-java-class" ??
I did some research this morning, and it seems like the answer is yes. 1. Dockerize your Spring Boot app that uses pico-cli 2. Run your app in a Docker container 3. Then run your command. It will look something like: docker exec [container_name] java -cp path-to-your-app.jar your.package.MainClass [PicoCLI arguments] Let me know how it goes. Thanks for watching!!
Thank you, you save my career :')
Your comment made my day! 🙌 Thrilled the video was useful for you!!
Do you know if it is possible to have a Spring Boot app running on a docker container and run the pico-cli example from the CLI with "java -c path-to-java-class" ??
I did some research this morning, and it seems like the answer is yes.
1. Dockerize your Spring Boot app that uses pico-cli
2. Run your app in a Docker container
3. Then run your command. It will look something like:
docker exec [container_name] java -cp path-to-your-app.jar your.package.MainClass [PicoCLI arguments]
Let me know how it goes. Thanks for watching!!
2nd...Thanks
Thank you too