mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-28 06:25:00 +00:00
Revert "Docker preserve sources" (#620)
This commit is contained in:
parent
295f3030a9
commit
6c94f3cd67
2 changed files with 5 additions and 12 deletions
|
@ -41,10 +41,6 @@ ENV NVIDIA_VISIBLE_DEVICES=all
|
|||
|
||||
WORKDIR /build
|
||||
|
||||
COPY Makefile .
|
||||
RUN make get-sources
|
||||
COPY go.mod .
|
||||
RUN make prepare
|
||||
COPY . .
|
||||
RUN make build
|
||||
|
||||
|
@ -62,8 +58,9 @@ RUN if [ "${FFMPEG}" = "true" ]; then \
|
|||
|
||||
WORKDIR /build
|
||||
|
||||
COPY . .
|
||||
RUN make prepare-sources
|
||||
COPY --from=builder /build/local-ai ./
|
||||
COPY entrypoint.sh .
|
||||
|
||||
# Define the health check command
|
||||
HEALTHCHECK --interval=1m --timeout=10m --retries=10 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue