Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jansanchez/nocker-alpine-app
Example of use for the image: jansanchez/nocker-alpine
https://github.com/jansanchez/nocker-alpine-app
babel docker es2015 nodejs nodemon yarn
Last synced: 13 days ago
JSON representation
Example of use for the image: jansanchez/nocker-alpine
- Host: GitHub
- URL: https://github.com/jansanchez/nocker-alpine-app
- Owner: jansanchez
- Created: 2017-04-27T04:36:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T23:24:46.000Z (almost 7 years ago)
- Last Synced: 2024-11-13T22:12:09.413Z (about 2 months ago)
- Topics: babel, docker, es2015, nodejs, nodemon, yarn
- Language: Makefile
- Size: 28.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# **nocker-alpine-app**
A Boilerplate for a Simple Express Web Application build in Docker.
*Includes:*
- Docker
- Docker Compose
- NodeJS
- Linux Alpine
- Yarn
- Nodemon
- ES2015
- Makefile## Clone
```
git clone [email protected]:jansanchez/nocker-alpine-app.git
```## How to use with Docker Compose
### Build & Install dependencies
```
./docker/scripts/setup.sh
```### Up
```
docker-compose up
```### So, Open your browser...
[http://localhost:3004](http://localhost:3004)### 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:3004](http://localhost:3004)### 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
```