Spaces:
Running
Running
File size: 396 Bytes
216ab65 6dd314c 216ab65 437f13f e7f2f0c 216ab65 7e149be fee6589 216ab65 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# 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
|