diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-01 15:57:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-01 15:57:13 +0300 |
| commit | 65ee2e4d7f2be8036457e3cdca0e26e09eb56e0b (patch) | |
| tree | cbd8143db9e81baed51239a628dfedae2dbf375f /Dockerfile | |
| parent | 56666ca87f11e72521dcda00de72438e13899b95 (diff) | |
add readme and so on
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"] |
