chatbot2 / Dockerfile
Mahmous's picture
Update Dockerfile
0aad22e verified
raw
history blame contribute delete
279 Bytes
# Use lightweight Python
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy everything
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Hugging Face default port
EXPOSE 7860
# Run Flask app
CMD ["python", "app.py"]