mineru2 / Dockerfile
marcosremar2's picture
Add git to Dockerfile for HF Space Dev mode requirements
9b23f6f
raw
history blame
435 Bytes
FROM python:3.10-slim
# Install wget and git for HF Space requirements
RUN apt-get update && apt-get install -y \
wget \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy and install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app.py .
EXPOSE 7860
# Start the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]