mirror of
https://github.com/LeRoid-hub/humiditycalc.git
synced 2025-01-31 03:34:56 +00:00
15 lines
147 B
Docker
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" ] |