mirror of
https://github.com/Sosokker/openweathermap-dashboard.git
synced 2025-12-18 13:44:04 +01:00
15 lines
171 B
Docker
15 lines
171 B
Docker
FROM golang:1.23.5-alpine
|
|
|
|
WORKDIR /usr/share/openweather-dashboard
|
|
|
|
COPY go.mod .
|
|
|
|
COPY go.sum .
|
|
|
|
RUN go mod download
|
|
|
|
COPY ../. .
|
|
|
|
RUN go build -o main .
|
|
|
|
CMD ["./main"] |