vep/Dockerfile
2026-08-07 19:26:49 +00:00

8 lines
312 B
Docker

FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
# Run schema init on container start (idempotent). Overridable for tests.
CMD ["sh", "-c", "python -m vep.initdb && uvicorn vep.main:app --host 0.0.0.0 --port 8000"]