Skip to content

Commit 66e2c65

Browse files
authored
Merge pull request #148 from epsilla-cloud/tools
add tools for object storage
2 parents 39f637e + 704db60 commit 66e2c65

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

engine/Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,24 @@ ADD ./ /vectordb
33
WORKDIR /vectordb
44
ENV OATPP_INSTALL_PATH=/vectordb/build/dependencies
55
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
78

89

910
FROM epsilla/base
1011
ARG TARGETARCH
1112
ARG RELEASE_VERSION=latest
1213
ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
1314
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
1424
COPY ./scripts/heartbeat.sh /heartbeat.sh
1525
HEALTHCHECK --interval=600s --timeout=30s --retries=1000 CMD bash /heartbeat.sh || exit 0
1626
ENTRYPOINT ["/vectordb"]

0 commit comments

Comments
 (0)