Feat(back): add livereload and start config

This commit is contained in:
2023-06-06 15:09:47 +02:00
parent a92383f7d0
commit eb97abee7f
4 changed files with 27 additions and 5 deletions

View File

@@ -37,5 +37,5 @@ RUN poetry install
FROM set_poetry as app_ready
#EXPOSE 80
COPY src/ .
CMD ["poetry", "run", "uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "8000"]
COPY src/ src
CMD ["poetry", "run", "uvicorn", "src.api.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]