mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-13 06:23:32 +00:00
moving proxy server to the top of repo
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Use a recent version of Python as the base image
|
||||
FROM python:3.8-slim-buster
|
||||
|
||||
# Set the working directory to /app
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the requirements.txt file to the image
|
||||
COPY requirements.txt .
|
||||
|
||||
# Install the required packages
|
||||
|
||||
# Install the required Python packages using pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy the rest of the application files to the image
|
||||
COPY . .
|
||||
|
||||
# Expose port 5000 for the Flask app to listen on
|
||||
EXPOSE 5000
|
||||
|
||||
# Run the main.py file when the container is started
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user