FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
genai-stack/api.Dockerfile at main · docker/genai-stack · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
docker
/
genai-stack
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
5.4k
Code
Issues
61
Pull requests
38
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
genai-stack
/
api.Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (14 loc) · 431 Bytes
Breadcrumbs
genai-stack
/
api.Dockerfile
Copy path
File metadata and controls
21 lines (14 loc) · 431 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM
langchain/langchain
WORKDIR
/app
RUN
apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
&& rm -rf /var/lib/apt/lists/*
COPY
requirements.txt .
RUN
pip install --upgrade -r requirements.txt
COPY
api.py .
COPY
utils.py .
COPY
chains.py .
HEALTHCHECK
CMD curl --fail http://localhost:8504
ENTRYPOINT
[
"uvicorn"
,
"api:app"
,
"--host"
,
"0.0.0.0"
,
"--port"
,
"8504"
]
Back
|
FazBrowse Home
|
New Git URL