File size: 367 Bytes
216ab65 6dd314c 216ab65 e7f2f0c 216ab65 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# 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 flowsettings.py /app
ENV GRADIO_SERVER_NAME=0.0.0.0
ENTRYPOINT ["python", "app.py"]
EXPOSE 7860
|