executive-ai/deploy/Dockerfile.python
Peppa e233190621
All checks were successful
ci / checks (push) Successful in 2s
deploy / deploy (push) Successful in 2s
Bootstrap Executive AI from Peppa template
2026-11-16 10:28:47 +05:00

11 lines
447 B
Docker

# Заготовка для Python. Скопируй в ./Dockerfile и поправь под проект.
# Приложение слушает $PORT и отвечает 200 на GET /healthz (deploy.health).
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1 PORT=3000
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 3000
CMD ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PORT}"]