heartdisease / Dockerfile
simran40's picture
Upload 7 files
d4fe7f4 verified
raw
history blame contribute delete
296 Bytes
# Use lightweight Python
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy files
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Hugging Face default port
EXPOSE 7860
# Run the Flask app
CMD ["python", "app.py"]