# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile FROM python:3.10-slim RUN useradd -m -u 1000 user USER user ENV PATH="/home/user/.local/bin:$PATH" WORKDIR /app COPY --chown=user ./requirements.txt requirements.txt RUN pip install --no-cache-dir --upgrade -r requirements.txt COPY --chown=user . /app # contains files larger than 10 MiB. COPY --chown=user ./projects/tutorial_1/0 /app/projects/tutorial_1/0 # AutoRAG 실행 명령어를 CMD로 변경 CMD ["autorag", "run_web", "--trial_path", "/app/projects/tutorial_1/0"]