Add Docker support and remove advetools from requirements.txt

* Removed advetools from requirements.txt due to compatibility issues (see https://github.com/AJaySi/AI-Writer/issues/124)
This commit is contained in:
Cristover Wurangian
2024-09-13 00:00:00 +07:00
committed by اجاي
parent ca8618a6a4
commit 408c42ef18
3 changed files with 64 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8501
CMD ["streamlit", "run", "alwrity.py"]

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
version: '3.8'
services:
app:
image: python:3.12
working_dir: /app
volumes:
- .:/app
command: bash -c "pip install -r requirements.txt && streamlit run alwrity.py"
ports:
- "8501:8501"

40
requirements copy.txt Normal file
View File

@@ -0,0 +1,40 @@
requests
typer[all]
rich
python-dotenv
loguru
openai
crewai[tools]
crewai_tools
python-docx
PyPDF2
google.generativeai
anthropic
tenacity
tavily-python
tabulate
metaphor_python
exa_py
GoogleNews
langchain-google-genai
clint
scikit-learn
matplotlib
plotly
requests_html
pytrends
pytube
wordcloud
prompt_toolkit
ipython
html2image
lxml_html_clean
streamlit
yfinance
pandas_ta
firecrawl-py
gTTS
streamlit-mic-recorder
tinify
cloudscraper
xmlschema