1
0
Fork 0
mirror of synced 2024-11-18 06:55:34 -05:00
ovpn-admin/frontend/build.sh

8 lines
190 B
Bash
Raw Normal View History

2020-05-14 19:13:33 -04:00
#!/bin/bash
2022-01-09 17:56:10 -05:00
image="node:16.13.0-alpine3.12"
2020-05-14 19:13:33 -04:00
uid="$(id -u $USER)"
docker run -u $uid -w /app -v $(pwd):/app $image npm i && \
docker run -u $uid -w /app -v $(pwd):/app $image npm run build