How to find the real root directory of my docker compose with app services?

Copper Contributor

I have created a docker compose file. In my local env this works fine. In the Azure Web App env this works fine in as much as it serves the nginx splash page. However, when I deploy my app, which works fine when it's in the same directory as the docker compose file (the way you'd assume Azure would do it), it ignores my files completely. What's going on? Do I need to access bash, work out where my docker compose directory is relative to my build files and manually copy stuff across? Doesn't that kinda defeat the point? If I'm doing something wrong I'd be really interested to know as I had thought this was supposed to make the deploy process less painful, and I don't really want to go back to having to spin up my own Linux server every time.

0 Replies