-- Readme update
This commit is contained in:
parent
70805a0b2a
commit
c137bda7c4
|
@ -9,9 +9,15 @@ RUN apt-get update -qq && apt-get install -y build-essential
|
|||
|
||||
RUN mkdir /src
|
||||
|
||||
-###
|
||||
-# Installations
|
||||
-###
|
||||
-# Add Gulp globally
|
||||
|
||||
RUN npm install -g gulp
|
||||
RUN npm install -g nodemon
|
||||
|
||||
# Finally, install all project Node modules
|
||||
WORKDIR /src
|
||||
ADD package.json /src/package.json
|
||||
RUN npm install
|
||||
|
@ -21,7 +27,7 @@ EXPOSE 8080
|
|||
###
|
||||
# Run main command from entrypoint and parameters in CMD[]
|
||||
###
|
||||
# Default port to execute the entrypoint (MongoDB)
|
||||
|
||||
CMD [""]
|
||||
|
||||
# Set default container command
|
||||
|
|
13
README.md
13
README.md
|
@ -13,16 +13,11 @@ Mainflux is an open source MIT licensed IoT cloud written in NodeJS
|
|||
gulp
|
||||
```
|
||||
|
||||
## Docker
|
||||
### Build image
|
||||
## Docker compose
|
||||
### Run docker-compose up and Compose will start and run entire app.
|
||||
```bash
|
||||
sudo docker build -t=mainflux .
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
## Run image
|
||||
```bash
|
||||
sudo docker run -i -t -d -p 8080:8080 --name=mainflux mainflux`
|
||||
```
|
||||
|
||||
## License
|
||||
## License
|
||||
MIT
|
||||
|
|
Loading…
Reference in New Issue