ayush2917's picture
Update huggingface_docker/Dockerfile
8f402e0 verified
raw
history blame
359 Bytes
# Use a Python base image
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy all project files to the container
COPY . .
# Install Python dependencies
RUN pip install -r huggingface_docker/requirements.txt
# Expose the port Flask will run on (required by Hugging Face Spaces)
EXPOSE 5000
# Run the Flask app
CMD ["python", "backend/app.py"]