1
0
Fork 0
mirror of synced 2024-11-05 01:08:57 -05:00
ovpn-admin/frontend/build.sh

8 lines
185 B
Bash
Raw Normal View History

2020-05-14 19:13:33 -04:00
#!/bin/bash
2022-12-30 09:25:21 -05:00
image="node:16-alpine3.15"
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