forked from Alexey/DAS_2024_1
14 lines
148 B
Docker
14 lines
148 B
Docker
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"] |