mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
* fix move docker files to docker folders * move check file length * fix docker hub deploy * fix clean up root * fix circle ci config
17 lines
490 B
Text
17 lines
490 B
Text
# Use the provided base image
|
|
FROM ghcr.io/berriai/litellm:main-latest
|
|
|
|
# Set the working directory to /app
|
|
WORKDIR /app
|
|
|
|
# Copy the configuration file into the container at /app
|
|
COPY config.yaml .
|
|
|
|
# Make sure your docker/entrypoint.sh is executable
|
|
RUN chmod +x docker/entrypoint.sh
|
|
|
|
# Expose the necessary port
|
|
EXPOSE 4000/tcp
|
|
|
|
# Override the CMD instruction with your desired command and arguments
|
|
CMD ["--port", "4000", "--config", "config.yaml", "--detailed_debug", "--run_gunicorn"]
|