I am trying to configure a simple python project using Docker and docker-compose.
COPY ./requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY ./web web/
COPY ./crawler crawler/
CMD ["python", "/app/web/app.py"]
The pycharm configuration:
I follow the steps and when I inspect my container, it contains my whole project duplicated, in /app and in /opt/project. There is another volume from my root project to /opt/project.
How could I avoid that?
I am looking for the right way to be able to debug my project with docker using pycharm.