italia / publiccode-editor

A web editor to create and edit publiccode.yml files
https://publiccode-editor.developers.italia.it
GNU Affero General Public License v3.0
20 stars 24 forks source link

Fix the Docker build #311

Closed bfabio closed 7 months ago

bfabio commented 7 months ago

docker build -t publiccode-editor . results in:

[...]
> publiccode-editor@1.4.3 build:wasm
> cd src && mkdir -p generated && cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" generated && GOOS=js GOARCH=wasm go build -o generated/main.wasm wasm/main.go

sh: 1: go: not found
cp: cannot stat '/misc/wasm/wasm_exec.js': No such file or directory
The command '/bin/sh -c npm run build' returned a non-zero code: 1