How to pass "live auto-reload option" with docker-compose
opened this issue · comments
Deleted user commented
hello there,
- Is it possible to pass live auto-reload option (/start-reload.sh) to our docker-compose.yml file?
- Is it possible to pass live auto-reload option (/start-reload.sh) to the docker-compose up -d command?
many thanks
Deleted user commented
I have updated my dockerfile as below and solved my issue
FROM tiangolo/uvicorn-gunicorn:python3.8-slim
RUN pip install --no-cache-dir fastapi
COPY ./app /app
CMD [ "/start-reload.sh" ]