code-improver / Dockerfile
Cristobal299's picture
Upload Dockerfile with huggingface_hub
de29ff2 verified
Raw
History Blame Contribute Delete
470 Bytes
FROM python:3.11-slim
# Install system dependencies (none required for this app)
# If you need ffmpeg or other binaries, uncomment the next line
# RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy application files
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the default Gradio port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]