audio_pipeline
This commit is contained in:
11
watcher/Dockerfile
Normal file
11
watcher/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.22-alpine AS build
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum* ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -o /watcher ./cmd/watcher
|
||||
|
||||
FROM alpine:3.19
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=build /watcher /watcher
|
||||
ENTRYPOINT ["/watcher"]
|
||||
Reference in New Issue
Block a user