DAS_2024_1/bazunov_andrew_lab_3/TaskApp/Dockerfile

14 lines
148 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/TaskApp
EXPOSE 8000
CMD ["/bin/TaskApp"]