mirror of
https://github.com/absmach/magistrala.git
synced 2026-06-23 04:10:28 +00:00
-- Readme update
This commit is contained in:
+7
-1
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user