8 lines
133 B
Docker
8 lines
133 B
Docker
|
FROM golang:1.19.3-alpine
|
||
|
WORKDIR /gothub
|
||
|
COPY . .
|
||
|
RUN go mod download
|
||
|
RUN go build .
|
||
|
CMD ["/bin/sh", "-c", "./gothub"]
|
||
|
EXPOSE 3000
|