FROM python:3.10 WORKDIR /home/usr/ COPY ./requirements.txt /home/usr/requirements.txt RUN pip install --no-cache-dir --upgrade -r /home/usr/requirements.txt RUN mkdir .files/ COPY . . COPY .chainlit .chainlit CMD ["chainlit", "run", "/home/usr/rag_app.py", "--host", "0.0.0.0", "--port", "7860"] # CMD ["ls", "-a"] # RUN chmod 755 /usr/local/lib/python3.10/