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:
committed by
اجاي
parent
ca8618a6a4
commit
408c42ef18
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
11
docker-compose.yml
Normal 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
40
requirements copy.txt
Normal 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
|
||||
Reference in New Issue
Block a user