Spaces:
Runtime error
Runtime error
File size: 437 Bytes
941f38d dfa8dbe 941f38d 49f0bed 941f38d 49f0bed 941f38d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # 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
|