Files
hst-api/Dockerfile
root 5d12e38715 Add CHANGELOG and Dockerfile - Session 2026-01-02
- Document API v5.2 changes
- Document edge_type field
- Document image cleanup and Airtable recovery
- Add Dockerfile for containerization
2026-01-02 02:04:19 +00:00

9 lines
245 B
Docker

FROM python:3.11-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN pip install flask flask-cors psycopg2-binary gunicorn
COPY app.py .
EXPOSE 5000
CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5000", "--reload", "app:app"]