Spaces:
Configuration error

CivicPulse / Dockerfile
whdevil's picture
Upload 12 files
ddde4e0 verified
Raw History Blame Contribute Delete
356 Bytes
# Base image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy all files into container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir \
flask \
flask-cors \
openai \
pydantic \
python-dotenv
# Expose port (IMPORTANT for HF Spaces)
EXPOSE 7860
# Run app
CMD ["python", "app.py"]