DAS_2023_1/senkin_alexander_lab_3/service2/Dockerfile

14 lines
147 B
Docker
Raw Normal View History

2023-11-06 23:41:21 +04:00
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"]