diff --git a/lectures/Dockerfile b/lectures/Dockerfile index 1c27227..26c7e57 100644 --- a/lectures/Dockerfile +++ b/lectures/Dockerfile @@ -1,9 +1,9 @@ -FROM golang:1.13 +FROM golang:1.20-alpine -RUN CGO_ENABLED=0 go get golang.org/x/tools/cmd/present && go install golang.org/x/tools/cmd/present +RUN CGO_ENABLED=0 go install golang.org/x/tools/cmd/present@latest COPY . /lectures WORKDIR /lectures -ENTRYPOINT /go/bin/present -http ':3999' -orighost p.go.manytask.org -use_playground -play=0 +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"]