Spaces:
Running
Running
Tadashi
commited on
Commit
•
216ab65
1
Parent(s):
cdb021a
feat: Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# syntax=docker/dockerfile:1.0.0-experimental
|
2 |
+
FROM ghcr.io/cinnamon/kotaemon:feat-first_setup-full as base_image
|
3 |
+
|
4 |
+
RUN useradd -m -u 1000 user
|
5 |
+
RUN --mount=type=ssh chown -R user:user /app
|
6 |
+
RUN --mount=type=ssh chown -R user:user /usr/local/lib/python3.10
|
7 |
+
USER user
|
8 |
+
WORKDIR /app
|
9 |
+
|
10 |
+
ENV GRADIO_SERVER_NAME=0.0.0.0
|
11 |
+
ENTRYPOINT ["python", "app.py"]
|
12 |
+
EXPOSE 7860
|
13 |
+
|