Independent FastAPI backend for Maskan CRM. Owns contacts, organizations, leads, pipelines, activities, products, quotes, users, permissions, audit records and first-party integration credentials, with Alembic migrations against PostgreSQL. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
18 lines
284 B
Docker
18 lines
284 B
Docker
FROM python:3.12-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml alembic.ini ./
|
|
COPY alembic ./alembic
|
|
COPY app ./app
|
|
|
|
RUN pip install --no-cache-dir .
|
|
|
|
EXPOSE 8091
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8091"]
|
|
|