jansanchez / nocker-wheezy-app

Example of use for the image: jansanchez/nocker-wheezy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nocker-wheezy-app

A Boilerplate for a Simple Express Web Application build in Docker.

Includes:

  • Docker
  • Docker Compose
  • NodeJS
  • Yarn
  • Nodemon
  • ES2015
  • Makefile

Clone

git clone git@github.com:jansanchez/nocker-wheezy-app.git

How to use with Docker Compose (video)

How to use the docker image nocker-wheezy?

Build & Install dependencies

./docker/scripts/setup.sh

Up

docker-compose up

So, Open your browser...

http://localhost:3005

Down

docker-compose down

Only Build

./docker/scripts/build.sh

Only Install dependencies

./docker/scripts/supply.sh

Using the Makefile

Build & Install dependencies

make setup

Up

make up

So, Open your browser...

http://localhost:3005

Command

make command "yarn upgrade"
make command "yarn install"
make command "yarn add express"
make command "yarn add -SD browser-sync"

Down

make down

Only Build

make build

Only Install dependencies

make install

Help

make

About

Example of use for the image: jansanchez/nocker-wheezy


Languages

Language:Makefile 44.7%Language:Shell 33.5%Language:JavaScript 21.8%