numberclassifier / Dockerfile
sivakum4's picture
code and model
bbea32b
raw
history blame contribute delete
295 Bytes
# Use a lightweight Python image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy all files into container
COPY . .
# Install dependencies
RUN pip install -r requirements.txt
# Expose port 7860 for Hugging Face Spaces
EXPOSE 7860
# Run Flask app
CMD ["python", "server.py"]