Spaces:
No application file
No application file
File size: 365 Bytes
82bf8c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Use lightweight Python image
FROM python:3.10-slim
# Set working directory inside container
WORKDIR /app
# Copy requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Expose Flask port
EXPOSE 5000
# Run Flask application
CMD ["python", "app.py"] |