Add client side components

This commit is contained in:
2019-11-07 21:20:58 +03:00
parent 0f01d2ad01
commit 329fa48fc1
16 changed files with 7855 additions and 0 deletions

17
tools/nodejs Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
mkdir -p var/docker-cache/.npm
docker run \
--rm \
--interactive \
--tty \
--user "$UID:$(id -g)" \
--volume /etc/passwd:/etc/passwd:ro \
--volume /etc/group:/etc/group:ro \
--volume "$PWD:/app" \
--volume "$PWD/var/docker-cache/.npm:/tmp/.npm" \
--env npm_config_cache=/tmp/.npm \
--workdir /app \
node:12.13-alpine \
"$@"