Spaces:
Sleeping
Sleeping
Download Dockerfile from tp53/kotaemon_template: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/spaces/tp53/kotaemon_template/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/tp53/kotaemon_template/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tp53/kotaemon_template/resolve/main/Dockerfile
396 Bytes
| # syntax=docker/dockerfile:1.0.0-experimental | |
| FROM ghcr.io/cinnamon/kotaemon:main-full as base_image | |
| RUN useradd -m -u 1000 user | |
| RUN --mount=type=ssh chown -R user:user /app | |
| RUN --mount=type=ssh chown -R user:user /usr/local/lib/python3.10 | |
| USER user | |
| WORKDIR /app | |
| COPY app.py /app | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV KH_FEATURE_USER_MANAGEMENT=false | |
| ENTRYPOINT ["python", "app.py"] | |
| EXPOSE 7860 | |