Rag / Dockerfile
enzosama154's picture
Update Dockerfile
d20c71e verified
FROM python:3.10-slim
RUN apt-get update && apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ENV PYTHONPATH=/app
COPY . .
COPY requirements.txt ./
RUN pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
RUN chmod -R 777 /app/Data
CMD ["python", "route/app.py"]