summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-01 15:57:13 +0300
committerPaul Buetow <paul@buetow.org>2026-05-01 15:57:13 +0300
commit65ee2e4d7f2be8036457e3cdca0e26e09eb56e0b (patch)
treecbd8143db9e81baed51239a628dfedae2dbf375f /Dockerfile
parent56666ca87f11e72521dcda00de72438e13899b95 (diff)
add readme and so on
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
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"]