Go binary/server for helping run/build sessions for the Maze Rats TTRPG
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
264 B

FROM golang:alpine AS builder
RUN apk add --no-cache make
WORKDIR $GOPATH/src/
COPY . .
RUN make build
RUN mkdir -p /dist
RUN cp -R build/dist/ /dist
FROM alpine
COPY --from=builder /dist/* /mazerats/
EXPOSE 8080
WORKDIR /mazerats
CMD ["./mrg", "server"]