Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -40,14 +40,17 @@ ENV RAG_EMBEDDING_MODEL_TRUST_REMOTE_CODE=True
|
|
| 40 |
COPY artifacts.py /app/backend/data/functions/artifacts.py
|
| 41 |
COPY function-Artifacts.json /app/backend/data/functions/function-Artifacts.json
|
| 42 |
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
COPY search.py /app/backend/data/tools/search.py
|
| 45 |
COPY calculator.py /app/backend/data/tools/calculator.py
|
| 46 |
COPY weather.py /app/backend/data/tools/weather.py
|
| 47 |
|
| 48 |
-
|
| 49 |
-
RUN chmod -R 777 /app/backend/data/
|
| 50 |
-
RUN chmod -R 777 /app/backend/data/
|
| 51 |
|
| 52 |
#数据库连接避免报错
|
| 53 |
ENV PGSSLCERT /tmp/postgresql.crt
|
|
|
|
| 40 |
COPY artifacts.py /app/backend/data/functions/artifacts.py
|
| 41 |
COPY function-Artifacts.json /app/backend/data/functions/function-Artifacts.json
|
| 42 |
|
| 43 |
+
RUN chmod -R 777 /app/backend/data/functions/artifacts.py
|
| 44 |
+
RUN chmod -R 777 /app/backend/data/functions/function-Artifacts.json
|
| 45 |
+
|
| 46 |
|
| 47 |
COPY search.py /app/backend/data/tools/search.py
|
| 48 |
COPY calculator.py /app/backend/data/tools/calculator.py
|
| 49 |
COPY weather.py /app/backend/data/tools/weather.py
|
| 50 |
|
| 51 |
+
RUN chmod -R 777 /app/backend/data/tools/search.py
|
| 52 |
+
RUN chmod -R 777 /app/backend/data/tools/calculator.py
|
| 53 |
+
RUN chmod -R 777 /app/backend/data/tools/weather.py
|
| 54 |
|
| 55 |
#数据库连接避免报错
|
| 56 |
ENV PGSSLCERT /tmp/postgresql.crt
|