- Document API v5.2 changes - Document edge_type field - Document image cleanup and Airtable recovery - Add Dockerfile for containerization
9 lines
245 B
Docker
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"]
|