MoinRomanticBot / Dockerfile.txt
syedmoinms's picture
Upload 11 files
9152169 verified
raw
history blame contribute delete
474 Bytes
# Base image (Python with required dependencies)
FROM python:3.10-slim
# Set working directory inside container
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y git
# Copy all project files to container
COPY . /app
# Install required Python packages
RUN pip install --no-cache-dir -r requirements.txt
# Expose port (Gradio or FastAPI use karoge to 7860 rakh sakte ho)
EXPOSE 7860
# Command to run the chatbot
CMD ["python", "app.py"]