From 65ee2e4d7f2be8036457e3cdca0e26e09eb56e0b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 1 May 2026 15:57:13 +0300 Subject: add readme and so on --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 5654691..84dd02f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN go mod download COPY . . # Build the binary. -RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o play ./cmd/mediaplayer +RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o player ./cmd/mediaplayer # ---- Runtime stage ---- FROM alpine:3.21 @@ -28,10 +28,10 @@ USER 65534:65534 WORKDIR /app # Copy the binary and static assets from the builder. -COPY --from=builder --chown=65534:65534 /build/play /app/play +COPY --from=builder --chown=65534:65534 /build/player /app/player COPY --from=builder --chown=65534:65534 /build/web /app/web # Expose the default HTTP port. EXPOSE 8080 -ENTRYPOINT ["/app/play"] +ENTRYPOINT ["/app/player"] -- cgit v1.2.3