Fix dockerfile

This commit is contained in:
2025-03-24 12:43:34 +01:00
parent 7d938d0c26
commit d0af018510

View File

@@ -1,4 +1,4 @@
FROM golang:1.23.1-alpine3.21 FROM golang:1.24.1-alpine3.21
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY go.mod go.sum ./
@@ -10,5 +10,4 @@ COPY templates ./templates
COPY *.go ./ COPY *.go ./
RUN go build -o /pcinv RUN go build -o /pcinv
RUN /pcinv --install
CMD ["/pcinv"] CMD ["/pcinv"]