Fix lectures build

This commit is contained in:
Fedor Korotkiy 2023-02-17 18:56:04 +04:00
parent c9939df175
commit 5332164359

View file

@ -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"]