Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -67,6 +67,13 @@ COPY ./startup.sh /app/startup.sh
|
|
67 |
RUN chmod 755 /app/startup.sh
|
68 |
|
69 |
COPY --from=weaviate /bin/weaviate /app/weaviate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
RUN mkdir -p /app/inputDocs
|
72 |
COPY ./inputDocs/* /app/inputDocs
|
|
|
67 |
RUN chmod 755 /app/startup.sh
|
68 |
|
69 |
COPY --from=weaviate /bin/weaviate /app/weaviate
|
70 |
+
COPY --from=weaviate ./modules ./
|
71 |
+
RUN mkdir -p /var/lib/weaviate/data
|
72 |
+
RUN chmod -R 777 /var
|
73 |
+
COPY --from=weaviate /var/lib/weaviate/data /var/lib/weaviate/data
|
74 |
+
ENV AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED true
|
75 |
+
ENV PERSISTENCE_DATA_PATH /var/lib/weaviate/data
|
76 |
+
ENV ENABLE_MODULES text2vec-transformers
|
77 |
|
78 |
RUN mkdir -p /app/inputDocs
|
79 |
COPY ./inputDocs/* /app/inputDocs
|