12 lines
119 B
Docker
12 lines
119 B
Docker
|
FROM golang:1.22-alpine
|
||
|
|
||
|
RUN mkdir /app
|
||
|
|
||
|
ADD . /app
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
RUN go build -o main .
|
||
|
|
||
|
CMD ["/app/main", "server"]
|