Added docker file.

This commit is contained in:
Andrey Egorov 2024-07-22 18:15:20 +03:00
parent f160282fe2
commit 08fee63dca
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
out/
Makefile
go.sum
.git/

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM golang:1.19
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

BIN
annalist

Binary file not shown.