Spaces:
Build error
Build error
Download Dockerfile from Leodass1433/RAG-TecXfluence: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/Leodass1433/RAG-TecXfluence/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Leodass1433/RAG-TecXfluence/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Leodass1433/RAG-TecXfluence/resolve/main/Dockerfile
437 Bytes
| # syntax=docker/dockerfile:1.0.0-experimental | |
| FROM ghcr.io/cinnamon/kotaemon:main-full as base_image | |
| USER root | |
| RUN useradd -m -u 1000 user || true | |
| RUN chmod -R a+rX /usr/local || true | |
| RUN chown -R user:user /app || true | |
| RUN chown -R user:user /usr/local/lib/python3.10 || true | |
| WORKDIR /app | |
| COPY --chown=user:user . /app | |
| USER user | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV GRADIO_SERVER_PORT=7860 | |
| ENTRYPOINT ["python", "app.py"] | |
| EXPOSE 7860 | |