Commit f0f5d529 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(feat): Front live server

1 merge request!766WIP: Local infrastructure provisioner (front)
Pipeline #115370692 failed with stages
in 28 minutes and 56 seconds
FROM node:13-alpine
COPY daemon.sh /daemon.sh
COPY run-server.sh /run-server.sh
ENTRYPOINT ["sh", "/run-server.sh"]
ENTRYPOINT ["sh", "/daemon.sh"]
#!/usr/bin/env sh
set -e
cd /var/www/Minds/front
npx nodemon --delay 3 --watch dist/en --ext js,css,jpg,png,svg,mp4,webp,webm --exec "/usr/bin/env sh" /run-server.sh
#!/usr/bin/env bash
#!/usr/bin/env sh
set -e
cd /var/www/Minds/front
echo Building...
npx ng run minds:server:production
echo Compiling...
npm run compile:server
echo Running...
npm run serve:ssr
......@@ -11,7 +11,7 @@
"prebuild-dev": "gulp build.sass --deploy-url=http://localhost",
"build-dev": "npm run build:dev",
"serve-dev": "npm run server:ssr",
"build:dev": "ng build --output-path dist --deploy-url=/ --watch=true --poll=800",
"build:dev": "ng build --output-path=dist/en --deploy-url=en/ --watch=true --poll=800",
"serve:dev": "ng serve --host=0.0.0.0 --deploy-url=/ --configuration=hmr --hmr --poll=800 --progress --disableHostCheck=true",
"test": "ng test",
"lint": "ng lint",
......
Please register or to comment