neko/dev/npm
2024-03-17 13:12:22 +01:00

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 "$@"