lightweight-llm / Dockerfile
seeker889's picture
Create Dockerfile
66e4cef verified
Raw History Blame Contribute Delete
209 Bytes
FROM python:3.10-slim
RUN pip install --no-cache-dir llama-cpp-python fastapi uvicorn huggingface_hub
WORKDIR /app
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]