Kibernetika project, frontend component
9.9K
Environment setup (run it once):
$ apt-get -y install curl
$ curl -sL https://deb.nodesource.com/setup | bash -
$ apt-get -y install nodejs bzip2 git
$ npm install -g bower gulp-cli
Install npm modules to ./node_modules (run it once in project's dir):
$ npm install
Install bower components to ./bower_components (run it once in project's dir, if you are root user, run with key --allow-root):
$ bower install
Build ./dist with complete ES6-app from sources ./src and bower components ./bower_components (run in project's dir):
$ gulp build
Start nginx-based container (run in project's dir):
$ ./local.sh
API should be available on http://localhost:8082.
docker build --tag kuberlab/dealer-shop:base -f BaseDocker . docker build --tag kuberlab/dealer-shop -f Dockerfile .
docker build --tag kuberlab/dealer-shop -f DockerfileLocal . docker run --name dealer -it --rm -p 8081:80 kuberlab/dealer-shop:latest bash -c 'echo "192.168.31.142 cloud-dealer" >> /etc/hosts && nginx -g "daemon off;"' my api 192.168.31.142 localhost:8081
Content type
Image
Digest
sha256:35d974159…
Size
90.3 MB
Last updated
almost 3 years ago
docker pull kuberlab/dealer-shop