File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,24 @@ ADD ./ /vectordb
3
3
WORKDIR /vectordb
4
4
ENV OATPP_INSTALL_PATH=/vectordb/build/dependencies
5
5
RUN scripts/install_oatpp_modules.sh
6
- RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod +x vectordb
6
+ RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod +x vectordb && curl -o /usr/local/bin/geesefs -L https://github.com/yandex-cloud/geesefs/releases/latest/download/geesefs-linux-amd64 && \
7
+ chmod +x /usr/local/bin/geesefs && /usr/local/bin/geesefs -v
7
8
8
9
9
10
FROM epsilla/base
10
11
ARG TARGETARCH
11
12
ARG RELEASE_VERSION=latest
12
13
ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
13
14
COPY --from=builder /vectordb/build/vectordb /vectordb
15
+ COPY --from=builder /usr/local/bin/geesefs /usr/local/bin/geesefs
16
+
17
+
18
+ FROM epsilla/base
19
+ ARG TARGETARCH
20
+ ARG RELEASE_VERSION=latest
21
+ ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
22
+ COPY --from=builder /vectordb/build/vectordb /vectordb
23
+ COPY --from=builder /usr/local/bin/geesefs /usr/local/bin/geesefs
14
24
COPY ./scripts/heartbeat.sh /heartbeat.sh
15
25
HEALTHCHECK --interval=600s --timeout=30s --retries=1000 CMD bash /heartbeat.sh || exit 0
16
26
ENTRYPOINT ["/vectordb" ]
You can’t perform that action at this time.
0 commit comments