以下代码生成错误:standard_init_linux.go:211: exec user process cause “exec format error”
任何指向我做错了什么的指针?
FROM golang:alpine AS builder
ENV GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOARCH=wasm GOOS=js
WORKDIR /build
COPY . .
COPY wasm_exec.js .
COPY server.go .
COPY main.wasm .
COPY manifest.json .
COPY sw.js .
COPY wasm_exec.js .
COPY app.js .
COPY index.html .
EXPOSE 8989
ENTRYPOINT ["./server.go"]
哆啦的时光机
慕标琳琳
相关分类