Updated deployment instructions and container

This commit is contained in:
2023-08-16 09:35:22 +03:00
parent 0468125b23
commit f345ed6587
4 changed files with 25 additions and 26 deletions

View File

@ -11,4 +11,4 @@ COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY ./back ./back
COPY --from=builder /src/dist ./front/dist
CMD uvicorn back.main:app --host 0.0.0.0 --port 80
CMD python -m back.main