Spaces:
Paused
Paused
Download deploy/Dockerfile.ghcr_base from DesertWolf/test3: direct link, hf CLI and curl.
- Browser
- Download file 490 Bytes
-
https://huggingface.co/spaces/DesertWolf/test3/resolve/main/deploy/Dockerfile.ghcr_base
- Command line
-
hf download hf://spaces/DesertWolf/test3/deploy/Dockerfile.ghcr_base
-
curl -L -o Dockerfile.ghcr_base https://huggingface.co/spaces/DesertWolf/test3/resolve/main/deploy/Dockerfile.ghcr_base
490 Bytes
| # 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"] | |