Docker fixes.
This commit is contained in:
parent
08fee63dca
commit
05fd6a213c
@ -1,8 +1,10 @@
|
||||
FROM golang:1.19
|
||||
FROM golang:1.22.5
|
||||
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY *.go ./
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /docker-modem-test main.go
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /modem-test main.go
|
||||
|
||||
CMD ["/modem-test"]
|
Loading…
Reference in New Issue
Block a user