humiditycalc/Dockerfile
2024-11-02 19:28:47 +01:00

15 lines
147 B
Docker

FROM golang:1.22
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY . .
RUN go build -o /humiditycalc
EXPOSE 8080
CMD [ "/humiditycalc" ]