Spaces:
Sleeping
Sleeping
File size: 450 Bytes
49b7f9e 5a82631 49b7f9e 1d4600d 49b7f9e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# Start from an official Python image
FROM python:3.12-slim
# Install system dependencies including git
RUN apt-get update && \
apt-get install -y git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy project files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the Gradio port
EXPOSE 7860
# Start the Gradio app
CMD ["python", "app.py"]
|