I have this Flask-app and I want to Dockerize it. Here is the structure of my project:
- experimental-rest-api
-- games (project source code)
-- test
-- docker
---- df-api
------ Dockerfile
---- df-nginx
------ Dockerfile
---- df-postgres
------ Dockerfile
---- df-redis
------ Dockerfile
---- docker-compose.yml
-- requirements.txt
-- run.py
Here is the link to full project: https://github.com/tmpower/experimental-rest-api
I coded most part of the compose and dockerfiles but I run into some problems. The biggest problem is in df-api/Dockerfile
. So could someone help me out with the problem. When I try to build that specific dockerfile it could not find requirements.txt.
How should I dockerize it in general. Thanks in advance.