File size: 330 Bytes
330d05a 8fa5d30 330d05a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements first (better caching)
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy all application files
COPY . .
# Expose Flask port
EXPOSE 7860
# Run the application
CMD ["python", "app.py"] |