DEV Community

Discussion on: Nginx as reverse proxy for a flask app using Docker

Collapse
 
gauravbhandari19 profile image
Gaurav Bhandari • Edited

It was a very well written post, thank you for that :)
However, I think the docker-compose.yml should have, this?
volumes:

  • ./code/:/code/

Instead of :

volumes:

  • ./:/code/
Collapse
 
ishankhare07 profile image
Ishan Khare

It depends on what your $PWD is

Collapse
 
gauravbhandari19 profile image
Gaurav Bhandari

Correct, but perhaps you can add directory structure too, else it gets confusing.