-
-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Install FastAPI app dependencies | ||
FROM python:3.10-slim-buster AS base | ||
WORKDIR /app | ||
COPY requirements.txt ./ | ||
RUN apt-get update | ||
RUN apt-get install -y --no-install-recommends git build-essential | ||
RUN pip install --upgrade pip | ||
RUN pip install --no-cache-dir -r requirements-mac.txt | ||
RUN apt-get remove -y git build-essential | ||
RUN apt-get install libgomp1 -y | ||
RUN apt-get install git -y | ||
RUN apt-get autoremove -y | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
# Run FastAPI app with Uvicorn | ||
FROM base AS uvicorn | ||
COPY . /app | ||
EXPOSE 5000 | ||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
argparse | ||
beautifulsoup4 | ||
captcha-solver | ||
chromadb | ||
docker | ||
duckduckgo_search | ||
fastapi | ||
uvicorn | ||
git+https://github.com/huggingface/transformers | ||
gitpython | ||
google-api-python-client | ||
GoogleBard | ||
google-auth | ||
google-auth-httplib2 | ||
google-auth-oauthlib | ||
gtts | ||
InstructorEmbedding | ||
jsonschema | ||
openai | ||
pinecone-client | ||
playwright | ||
playsound | ||
pre-commit | ||
pytz | ||
pynacl | ||
python-dotenv | ||
python-git | ||
PyGithub | ||
selenium | ||
sendgrid | ||
sentence-transformers | ||
tiktoken | ||
tweepy | ||
undetected-chromedriver==3.1.7 | ||
webdriver_manager |