Open chinchalinchin opened 3 years ago
Hello @chinchalinchin glad you found the workaround for this problem (though needs an extra step).
Unfortunately currently it is not possible to set the networking mode during docker build
. I'll put this into our backlog and we prioritize our feature requests by the number of thumb-up. Thank you so much for you support for Copilot!
I have an Angular frontend image that gets pre-rendered during the build. See here. While it's pre-rendering, it needs to be able to communicate with the backend container in order to consume some data that's used to populate the HTML templates.
I saw this: https://github.com/aws/copilot-cli/issues/1177
Which sort of solves the problem, but adds an extra step to the deployment process. I have to build the image manually before pushing it to ECS.
Is there any way to set the networking mode during
docker build
?