soh7's picture
Upload 6 files
91d6d06 verified
raw
history blame contribute delete
330 Bytes
# Use official Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy all code
COPY . .
# Expose port for Gradio
EXPOSE 7860
# Default command to run the app
CMD ["python", "app.py"]