mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-24 09:12:44 +01:00
Enable dynamic path with environment variable which triggers node js build at container runtime
8 lines
No EOL
170 B
Bash
8 lines
No EOL
170 B
Bash
#!/bin/bash
|
|
echo 'Building Node.js project...'
|
|
cd /src/web \
|
|
&& yarn \
|
|
&& npm run build
|
|
|
|
cp -R /src/web/dist/. /usr/local/lib/web/frontend/
|
|
echo 'Build finished.' |