hello i would like to use debug inside container but i cannot add working "volumes" into docker comopse.xml
file structure in the piscture:
FROM python:3.9-alpine
WORKDIR /planner
ENV FLASK_APP=app
ENV FLASK_RUN_HOST=0.0.0.0
RUN apk add --no-cache gcc musl-dev linux-headers
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
EXPOSE 5000
COPY . .
CMD ["flask", "run"]
compose:
version: "3.7"
services:
web:
build: .
restart: always
ports:
- "5000:5000"
volumes:
- .:/planner
rq-dashboard:
image: jaredv/rq-docker:0.0.2
command: rq-dashboard -H rq-server
ports:
- 9181:9181
rq-worker:
image: jaredv/rq-docker:0.0.2
command: rq worker -u redis://rq-server:6379 high normal low
deploy:
replicas: 3
rq-server:
image: redis:alpine
ports:
- 6379:6379
problem is with:
volumes:
- .:/planner
could you help me with it?