Skip to content

Commit

Permalink
Update Dockerfile.embed
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-epsilla authored Aug 26, 2024
1 parent e675bf6 commit 52e1b3d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions engine/Dockerfile.embed
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod

FROM epsilla/base
WORKDIR /root

ARG TARGETARCH
ARG RELEASE_VERSION=latest
ENV ENV_RELEASE_VERSION=$RELEASE_VERSION
ENV PYTHONUNBUFFERED=True

COPY --from=models /root/models /root/models
COPY --from=models /root/models /root/models
COPY --from=builder /vectordb/build/vectordb /vectordb
COPY ./scripts/heartbeat.sh /heartbeat.sh

COPY ./scripts/heartbeat.sh /heartbeat.sh
COPY ./epsilla-embed /root/
COPY ./epsilla-embed/launch.conf /etc/supervisor/conf.d/launch.conf

Expand All @@ -31,7 +29,6 @@ RUN apt-get update && \
poetry install --only main && \
rm -rf /var/lib/apt/lists/*


EXPOSE 8888 8889

HEALTHCHECK --interval=600s --timeout=30s --retries=1000 CMD bash /heartbeat.sh || exit 0
Expand Down

0 comments on commit 52e1b3d

Please sign in to comment.