-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
5 changed files
with
22 additions
and
42 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
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 |
---|---|---|
@@ -1,37 +1,3 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.10-slim-buster | ||
|
||
# Set the working directory in the container to /app | ||
WORKDIR /app | ||
|
||
# Add the current directory contents into the container at /app | ||
ADD . /app | ||
|
||
# Update and install system dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libpq-dev \ | ||
libffi-dev \ | ||
libssl-dev \ | ||
musl-dev \ | ||
libxml2-dev \ | ||
libxslt1-dev \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Python dependencies | ||
RUN python3 -m pip cache purge | ||
RUN python3 -m pip install --no-cache-dir -r requirements.txt | ||
|
||
# Set version | ||
ARG version="v0.1.0" | ||
|
||
# Echo version | ||
RUN echo "Started everything-rag ${version}" | ||
|
||
# Expose the port that the application will run on | ||
EXPOSE 7860 | ||
|
||
# Set the entrypoint with a default command and allow the user to override it | ||
ENTRYPOINT ["python3", "chat.py"] | ||
FROM ghcr.io/astrabert/everything-rag:latest | ||
|
||
ENTRYPOINT [ "python3", "chat.py" ] |
Binary file not shown.
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