Add the Healthcare platform backend (phases 13.0–13.7) with Alembic migration revision fix, production deploy script, validation reports, shared UI exports, and loyalty list page client directives so Next.js build succeeds. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
640 B
Docker
23 lines
640 B
Docker
# Dev image: dependencies only — code mounted with uvicorn --reload
|
|
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PIP_NO_CACHE_DIR=1 \
|
|
PYTHONPATH=/app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends build-essential libpq-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY backend/shared-lib/ /shared-lib/
|
|
COPY backend/services/healthcare/requirements.txt /app/requirements.txt
|
|
|
|
RUN sed -i 's#-e ../../shared-lib#-e /shared-lib#' /app/requirements.txt \
|
|
&& pip install --upgrade pip \
|
|
&& pip install -r requirements.txt
|
|
|
|
EXPOSE 8010
|