9 lines
194 B
Docker
9 lines
194 B
Docker
FROM golang:1.22.5-alpine3.20
|
|
LABEL author="moxitech"
|
|
WORKDIR /var/sender.service
|
|
COPY app /var/sender.service
|
|
|
|
RUN rm -rf vendor
|
|
RUN go get ./...;
|
|
RUN go build -o main cmd/main.go
|
|
CMD "./main" |