my-doc-rag / Dockerfile
samagra44
dockerfile, req file
ebfcda4
raw
history blame contribute delete
353 Bytes
FROM python:3.10
WORKDIR /app
ENV HOME=/app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /app/.streamlit && chmod -R 777 /app/.streamlit
RUN mkdir -p /app/.streamlit
ENV STREAMLIT_HOME=/app/.streamlit
RUN chmod +x start.sh
RUN mkdir -p /data/database && chmod -R 777 /data
CMD ["./start.sh"]