Browse Source

build: docker compile script

20230320
dnomd343 2 years ago
parent
commit
6275885fb3
  1. 7
      build.sh

7
build.sh

@ -0,0 +1,7 @@
#!/usr/bin/env bash
WORKDIR="/var/www/unlock-music"
docker run --rm -it -v ${WORKDIR}:/build/ --workdir /build/ --entrypoint ./scripts/build-wasm.sh emscripten/emsdk:3.0.0
docker run --rm -it -v ${WORKDIR}:/build/ --workdir /build/ --entrypoint bash node:16.18-bullseye -c "npm ci && npm run build"
Loading…
Cancel
Save