ai-model-runner-light / Dockerfile
sheikhcoders's picture
Upload Dockerfile with huggingface_hub
fda331b verified
raw
history blame
269 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY lightweight_requirements.txt .
RUN pip install --no-cache-dir -r lightweight_requirements.txt
COPY lightweight_app.py .
EXPOSE 7860
CMD ["python", "-m", "uvicorn", "lightweight_app:app", "--host", "0.0.0.0", "--port", "7860"]