fdp-flask-api / Dockerfile
dkvbabu
Clean deploy - no binary files
bf751d0
Raw History Blame Contribute Delete
270 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy all files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port 7860 (required by HF Spaces)
EXPOSE 7860
# Run Flask app
CMD ["python", "flask_api.py"]