Hi again, Question regarding deploying source code...
# general
Hi again, Question regarding deploying source code into docker. Do we need to have pants in the docker image in order to build and run the service ? If yes, is there any standard of how to do it ? If no, how do we build the projects and its dependencies in the image ?
No, you can define a
in your BUILD file, and Pants will package your dependencies and include them in the Docker build context so you can
them with a Dockerfile instruction. See https://github.com/pantsbuild/example-docker for some basic examples.
N.b. that if you’re on a Mac, that you need to consider that the image is on a different platform.
More about the Docker integration in the documentation here: https://www.pantsbuild.org/docs/docker
This is great. that should solve it
🙏 2