feat(deploy): allow deploying on deta.space

- **BREAKING CHANGE**: Api url now /api/v1 \n **Fix**: Frontend build. \n **Fix**: errors about unknown styles

BREAKING CHANGE:
This commit is contained in:
Kentai Radiquum 2024-05-13 22:20:08 +05:00
parent d85ce45989
commit d97ad7dbfe
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
19 changed files with 504 additions and 412 deletions

View file

@ -15,4 +15,4 @@ COPY . .
# Install any needed packages specified in requirements.txt
RUN pip install -r requirements.txt
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0"]
CMD ["uvicorn", "main:app", "--reload", "--host", "0.0.0.0", "--root-path", "/api"]