File size: 394 Bytes
f63d138
 
3f5e9d0
 
f63d138
 
3f5e9d0
 
 
f63d138
 
 
 
3f5e9d0
f63d138
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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=true

ENTRYPOINT ["python", "app.py"]
EXPOSE 7860