Revert "Docker preserve sources" (#620)
This commit is contained in:
committed by
GitHub
parent
295f3030a9
commit
6c94f3cd67
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user