Spaces:
Runtime error
Runtime error
Added DuckDB folder with 777 rights to enable extensions load
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -6,8 +6,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
-
|
10 |
-
# RUN chmod 777 /
|
11 |
|
12 |
COPY . .
|
13 |
|
@@ -16,4 +15,8 @@ CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860",
|
|
16 |
RUN mkdir /.cache
|
17 |
RUN chmod 777 /.cache
|
18 |
RUN mkdir .chroma
|
19 |
-
RUN chmod 777 .chroma
|
|
|
|
|
|
|
|
|
|
6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
+
|
|
|
10 |
|
11 |
COPY . .
|
12 |
|
|
|
15 |
RUN mkdir /.cache
|
16 |
RUN chmod 777 /.cache
|
17 |
RUN mkdir .chroma
|
18 |
+
RUN chmod 777 .chroma
|
19 |
+
|
20 |
+
#Allow duckdb extensions load
|
21 |
+
RUN mkdir /.duckdb
|
22 |
+
RUN chmod 777 /.duckdb
|