15 lines
204 B
Docker
15 lines
204 B
Docker
FROM golang:1.23
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . ./
|
|
RUN go mod download
|
|
|
|
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /bingo
|
|
|
|
EXPOSE 3005
|
|
CMD [ "/bingo", "run" ]
|