FROM golang:1.23.1-alpine3.21 WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY migrations ./migrations COPY static ./static COPY templates ./templates COPY *.go ./ RUN go build -o /pcinv RUN /pcinv --install CMD ["/pcinv"]