light / Dockerfile
manhteky123's picture
Upload 7 files
0213045 verified
raw
history blame contribute delete
373 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy requirements first for better caching
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose port 7860 (Hugging Face Spaces default port)
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]