From 35853bdf5c407398d059394654d9410e54d28511 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Mon, 24 Jul 2023 00:15:18 +0800 Subject: [PATCH] build: docker compile script --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..9af91f8 --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +docker run --rm -it \ + --volume /var/www/unlock-music/:/build/ \ + --workdir /build/ \ + --entrypoint bash \ + node:16.18-bullseye -c "npm ci && npm run build"