neko/client/dev/npm

13 lines
240 B
Bash
Executable File

#!/bin/sh
cd "$(dirname "$0")"
APP_PATH="$(realpath ../)"
# npm
docker run --rm -it \
--user "$(id -u):$(id -g)" \
--volume "$APP_PATH:$APP_PATH" \
--entrypoint="npm" \
--workdir="$APP_PATH" \
node:18-buster-slim "$@"