Skip to content

Commit

Permalink
fixed missing curl
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoika committed Sep 25, 2023
1 parent a6df58f commit 55b241f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /airplay-music-watcher

# Deploy the application binary into a lean image
FROM gcr.io/distroless/base-debian11 AS build-release-stage

FROM alpine/curl AS build-release-stage

WORKDIR /

Expand All @@ -30,7 +29,7 @@ COPY --from=build-stage /airplay-music-watcher /airplay-music-watcher
EXPOSE 5353

# Run
USER nonroot:nonroot
USER root:root
VOLUME [ "/config" ]

ENTRYPOINT ["/airplay-music-watcher", "/config/config.json"]
Expand Down

0 comments on commit 55b241f

Please sign in to comment.