DAS_2024_1/bazunov_andrew_lab_3/PersonApp/Dockerfile

14 lines
152 B
Docker
Raw Permalink Normal View History

2024-10-26 14:46:33 +04:00
FROM golang:1.23
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /bin/PersonApp
EXPOSE 8080
CMD ["/bin/PersonApp"]