chore: inicializa repositório ATIVA IA

This commit is contained in:
brunorsviana 2026-10-04 15:05:42 -03:00
commit 59c26be0d3
16 changed files with 2056 additions and 0 deletions

21
rag-api/Dockerfile Normal file
View file

@ -0,0 +1,21 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
RUN useradd --system --uid 10001 ativa-rag && \
chown -R 10001:10001 /app
USER 10001
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090", "--no-access-log"]