neko/dev/build

13 lines
263 B
Plaintext
Raw Normal View History

2022-07-17 06:53:37 +12:00
#!/bin/sh
cd "$(dirname "$0")"
APP_PATH="$(realpath ../)"
2022-07-17 06:53:37 +12:00
# start component watch
docker run --rm -it \
--user "$(id -u):$(id -g)" \
--volume "$APP_PATH:$APP_PATH" \
2022-07-17 06:53:37 +12:00
--entrypoint="npm" \
--workdir="$APP_PATH" \
node:18-buster-slim run build