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