Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -45,13 +45,16 @@ FROM alpine AS weaviate
|
|
45 |
COPY --from=grpc_health_probe_builder /bin/grpc_health_probe /bin/
|
46 |
COPY --from=server_builder /weaviate-server /bin/weaviate
|
47 |
RUN chmod 755 /bin/weaviate
|
|
|
|
|
|
|
48 |
RUN apk add --no-cache --upgrade ca-certificates openssl
|
49 |
RUN mkdir ./modules
|
50 |
RUN mkdir -p /var/lib/weaviate/data
|
51 |
RUN chmod -R 777 /var
|
52 |
ENV AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED true
|
53 |
ENV PERSISTENCE_DATA_PATH /var/lib/weaviate/data
|
54 |
-
ENV ENABLE_MODULES
|
55 |
#CMD [ "--host", "0.0.0.0", "--port", "8080", "--scheme", "http", ""]
|
56 |
|
57 |
###############################################################################
|
|
|
45 |
COPY --from=grpc_health_probe_builder /bin/grpc_health_probe /bin/
|
46 |
COPY --from=server_builder /weaviate-server /bin/weaviate
|
47 |
RUN chmod 755 /bin/weaviate
|
48 |
+
|
49 |
+
COPY /bin/weaviate /app
|
50 |
+
|
51 |
RUN apk add --no-cache --upgrade ca-certificates openssl
|
52 |
RUN mkdir ./modules
|
53 |
RUN mkdir -p /var/lib/weaviate/data
|
54 |
RUN chmod -R 777 /var
|
55 |
ENV AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED true
|
56 |
ENV PERSISTENCE_DATA_PATH /var/lib/weaviate/data
|
57 |
+
ENV ENABLE_MODULES text2vec-transformers
|
58 |
#CMD [ "--host", "0.0.0.0", "--port", "8080", "--scheme", "http", ""]
|
59 |
|
60 |
###############################################################################
|