DAS_2023_1/senkin_alexander_lab_3/service2/Dockerfile

14 lines
147 B
Docker

FROM golang:latest
WORKDIR /app
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY server_run.go .
RUN go build -o myapp
CMD ["/app/myapp"]