shad-go/lectures/Dockerfile
2023-02-17 18:56:04 +04:00

9 lines
305 B
Docker

FROM golang:1.20-alpine
RUN CGO_ENABLED=0 go install golang.org/x/tools/cmd/present@latest
COPY . /lectures
WORKDIR /lectures
ENTRYPOINT ["/go/bin/present", "-base", "/go/pkg/mod/golang.org/x/tools@v0.6.0/cmd/present", "-http", ":3999", "-orighost", "p.go.manytask.org", "-use_playground", "-play=0"]