Delete Dockerfile
Browse files- Dockerfile +0 -20
Dockerfile
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
# Use the official Python 3.11 image as the base image
|
| 2 |
-
FROM python:3.11
|
| 3 |
-
|
| 4 |
-
# Update the package lists and install git
|
| 5 |
-
RUN apt update && apt install -y git
|
| 6 |
-
|
| 7 |
-
# Clone the hf-llm-api repository into the /app directory
|
| 8 |
-
RUN git clone https://github.com/Niansuh/hf-llm-api.git /app
|
| 9 |
-
|
| 10 |
-
# Set the working directory to /app
|
| 11 |
-
WORKDIR "/app"
|
| 12 |
-
|
| 13 |
-
# Install Python dependencies from requirements.txt
|
| 14 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
-
|
| 16 |
-
# Expose port 23333 for the application
|
| 17 |
-
EXPOSE 23333
|
| 18 |
-
|
| 19 |
-
# Command to run the application when the container starts
|
| 20 |
-
CMD ["python", "-m", "apis.chat_api"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|