Spaces:
Sleeping
Sleeping
# Use an official Python runtime as a parent image | |
FROM python:3.9-slim | |
# Set environment variables | |
ENV PYTHONUNBUFFERED=1 | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Set the working directory in the container | |
WORKDIR /app | |
# Install vLLM | |
RUN pip install --no-cache-dir vllm | |
# Copy the entrypoint script | |
COPY entrypoint.sh /app/entrypoint.sh | |
RUN chmod +x /app/entrypoint.sh | |
# Set the entrypoint | |
ENTRYPOINT ["/app/entrypoint.sh"] |