Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Vectordb in dev

on:
push:
branches: [ "dev", "distritubed-*" ]
branches: [ "dev", "distritubed-*", "docker" ]
paths: ['engine/Dockerfile', 'VERSION']

jobs:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.15
0.3.16
4 changes: 2 additions & 2 deletions engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod
chmod +x /usr/local/bin/geesefs && /usr/local/bin/geesefs -v


FROM epsilla/base
FROM epsilla/ubuntu
ARG TARGETARCH
ARG RELEASE_VERSION=latest
ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
COPY --from=builder /vectordb/build/vectordb /vectordb
COPY --from=builder /usr/local/bin/geesefs /usr/local/bin/geesefs


FROM epsilla/base
FROM epsilla/ubuntu
ARG TARGETARCH
ARG RELEASE_VERSION=latest
ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
Expand Down
11 changes: 4 additions & 7 deletions engine/Dockerfile.embed
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM epsilla/embedding:models AS models
FROM epsilla/embedding:models as models


FROM epsilla/base AS builder
FROM epsilla/ubuntu as builder
ADD ./ /vectordb
WORKDIR /vectordb
ENV OATPP_INSTALL_PATH=/vectordb/build/dependencies
RUN scripts/install_oatpp_modules.sh
RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod +x vectordb


FROM epsilla/base
FROM epsilla/ubuntu
WORKDIR /root
ARG TARGETARCH
ARG RELEASE_VERSION=latest
Expand All @@ -22,10 +22,7 @@ COPY ./scripts/heartbeat.sh /heartbeat.sh
COPY ./epsilla-embed /root/
COPY ./epsilla-embed/launch.conf /etc/supervisor/conf.d/launch.conf

RUN apt-get update && \
apt-get install -y procps supervisor && \
pip install --upgrade --no-cache-dir pip boto3 poetry --break-system-packages && \
poetry update && \
RUN poetry update && \
poetry install --only main && \
rm -rf /var/lib/apt/lists/*

Expand Down