issue 19 is resolved

- Update Dockerfile to install mkdocs and build documentation
This commit is contained in:
unclecode
2024-06-22 17:18:00 +08:00
parent 612ed3fef2
commit 2c2362b4d3
6 changed files with 17 additions and 4 deletions

View File

@@ -54,7 +54,12 @@ EXPOSE 80
# Download models call cli "crawl4ai-download-models"
RUN crawl4ai-download-models
# RUN python crawl4ai/model_loader.py
# Instakk mkdocs
RUN pip install mkdocs mkdocs-terminal
# Call mkdocs to build the documentation
RUN mkdocs build
# Run uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80", "--workers", "4"]