exact2026-deploy / Dockerfile
kotorii1's picture
Upload folder using huggingface_hub
73d5dfb verified
Raw
History Blame Contribute Delete
422 Bytes
FROM vllm/vllm-openai:latest
# Install only extra dependencies (sympy, z3-solver)
# We don't install requirements.txt because the base image already has vllm, fastapi, uvicorn
RUN pip install --no-cache-dir sympy z3-solver
# Copy server code
COPY server.py /app/server.py
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
WORKDIR /app
# The port FastAPI will run on
EXPOSE 8000
# Start script
CMD ["./start.sh"]