Spaces:
Sleeping
Sleeping
update docker image
Browse files- Dockerfile +1 -1
- flowsettings.py +2 -2
Dockerfile
CHANGED
@@ -8,9 +8,9 @@ USER user
|
|
8 |
WORKDIR /app
|
9 |
|
10 |
COPY app.py /app
|
|
|
11 |
|
12 |
ENV GRADIO_SERVER_NAME=0.0.0.0
|
13 |
-
ENV KH_APP_DATA_DIR = "/data/kotaemon/ktem_app_data/ktem_app_data"
|
14 |
ENTRYPOINT ["python", "app.py"]
|
15 |
EXPOSE 7860
|
16 |
|
|
|
8 |
WORKDIR /app
|
9 |
|
10 |
COPY app.py /app
|
11 |
+
COPY flowsettings.py /app
|
12 |
|
13 |
ENV GRADIO_SERVER_NAME=0.0.0.0
|
|
|
14 |
ENTRYPOINT ["python", "app.py"]
|
15 |
EXPOSE 7860
|
16 |
|
flowsettings.py
CHANGED
@@ -11,8 +11,8 @@ cur_frame = currentframe()
|
|
11 |
if cur_frame is None:
|
12 |
raise ValueError("Cannot get the current frame.")
|
13 |
this_file = getframeinfo(cur_frame).filename
|
14 |
-
|
15 |
-
this_dir = Path(this_file).parent
|
16 |
|
17 |
# change this if your app use a different name
|
18 |
KH_PACKAGE_NAME = "kotaemon_app"
|
|
|
11 |
if cur_frame is None:
|
12 |
raise ValueError("Cannot get the current frame.")
|
13 |
this_file = getframeinfo(cur_frame).filename
|
14 |
+
this_dir = Path("/data/kotaemon/ktem_app_data")
|
15 |
+
#this_dir = Path(this_file).parent
|
16 |
|
17 |
# change this if your app use a different name
|
18 |
KH_PACKAGE_NAME = "kotaemon_app"
|