13 lines
196 B
Docker
13 lines
196 B
Docker
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 /spider-net
|
|
|
|
COPY spider-net /spider-net
|
|
|
|
CMD ["/spider-net"] |