listen/docker/build.Dockerfile

16 lines
310 B
Text
Raw Normal View History

# This Dockerfile is meant for building listen ONLY
# listen is currently not intended to run in a Docker container
ARG IMAGE="1-alpine"
2025-07-11 19:42:45 -06:00
ARG GOOS="linux"
FROM golang:${IMAGE} AS build
WORKDIR /usr/src/listen
COPY . .
RUN apk upgrade --no-cache
RUN go build -o out/$GOOS/ .
CMD ["tail", "-f", "/dev/null"]