shad-go/lectures/Dockerfile

10 lines
305 B
Docker
Raw Normal View History

2023-02-17 14:56:04 +00:00
FROM golang:1.20-alpine
2020-02-01 20:16:15 +00:00
2023-02-17 14:56:04 +00:00
RUN CGO_ENABLED=0 go install golang.org/x/tools/cmd/present@latest
2020-02-01 20:16:15 +00:00
COPY . /lectures
WORKDIR /lectures
2023-02-17 14:56:04 +00:00
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"]