Spaces:
Sleeping
Sleeping
File size: 616 Bytes
1d022c2 0104a0d 1d022c2 46328e0 0104a0d 1d022c2 46328e0 fce0f0b 1d022c2 fce0f0b 1d022c2 0104a0d 1d022c2 eaff0d6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# 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 7860/tcp
# Override the CMD instruction with your desired command and arguments
# WARNING: FOR PROD DO NOT USE `--detailed_debug` it slows down response times, instead use the following CMD
# CMD ["--port", "7860", "--config", "config.yaml"]
CMD ["--port", "7860", "--config", "config.yaml"] |