it would help to add the new dockerfile

This commit is contained in:
Bryson Steck 2025-07-11 19:00:08 -06:00
parent f68a78e10f
commit 145c0e5375
Signed by: bryson
SSH key fingerprint: SHA256:XpKABw/nP4z8UVaH+weLaBnEOD86+cVwif+QjuYLGT4

16
docker/build.Dockerfile Normal file
View file

@ -0,0 +1,16 @@
# This Dockerfile is meant for building listen ONLY
# listen is currently not intended to run in a Docker container
ARG IMAGE="1-alpine"
FROM golang:${IMAGE} AS build
WORKDIR /usr/src/listen
COPY . .
RUN apk upgrade --no-cache
RUN go install github.com/go-task/task/v3/cmd/task@latest
ENV GOOS="linux"
RUN task build
CMD ["tail", "-f", "/dev/null"]