hamba-ho's picture
feat: Version finale de l'application full stack avec RAG amélioré
c2f46ba
Raw
History Blame Contribute Delete
381 Bytes
# backend/Dockerfile
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y netcat-openbsd && rm -rf /var/lib/apt/lists/*
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY backend/ .
COPY scripts/ ./scripts/
COPY backend/entrypoint.sh .
RUN chmod +x ./entrypoint.sh
#ENV PYTHONPATH="/app"
ENTRYPOINT ["./entrypoint.sh"]