rename binary from fetch to akai-fetch
Consistent with go.mod, usage strings, and docs. Updated Dockerfile, electron config, and Makefile.
This commit is contained in:
+6
-6
@@ -9,13 +9,13 @@ COPY third_party/akaiutil/ /src/akaiutil/
|
||||
WORKDIR /src/akaiutil
|
||||
RUN make
|
||||
|
||||
# Stage 2: Build fetch (Go tool)
|
||||
FROM golang:1.26-alpine AS fetch-builder
|
||||
# Stage 2: Build akai-fetch (Go tool)
|
||||
FROM golang:1.26-alpine AS akai-fetch-builder
|
||||
|
||||
WORKDIR /src
|
||||
COPY go.mod main.go serve.go /src/
|
||||
COPY go.mod *.go /src/
|
||||
COPY web/ /src/web/
|
||||
RUN CGO_ENABLED=0 go build -o /fetch .
|
||||
RUN CGO_ENABLED=0 go build -o /akai-fetch .
|
||||
|
||||
# Stage 3: Runtime image
|
||||
FROM debian:11-slim
|
||||
@@ -28,10 +28,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
RUN mkdir -p /data/output/isos /data/output/wavs
|
||||
|
||||
COPY --from=akaiutil-builder /src/akaiutil/akaiutil /usr/local/bin/
|
||||
COPY --from=fetch-builder /fetch /usr/local/bin/fetch
|
||||
COPY --from=akai-fetch-builder /akai-fetch /usr/local/bin/akai-fetch
|
||||
COPY scripts/extract_wavs.sh /usr/local/bin/
|
||||
|
||||
WORKDIR /data
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["fetch"]
|
||||
ENTRYPOINT ["akai-fetch"]
|
||||
CMD ["serve", "-p", "8080", "--host", "0.0.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user