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
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user