Fix lectures build
This commit is contained in:
parent
c9939df175
commit
5332164359
1 changed files with 3 additions and 3 deletions
|
@ -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
|
COPY . /lectures
|
||||||
|
|
||||||
WORKDIR /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"]
|
||||||
|
|
Loading…
Reference in a new issue