1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-11 19:29:16 +08:00
Mainflux.mainflux/Dockerfile
Drasko DRASKOVIC ef00dac107 Correct Docker stuff
This commit corrects docker-compose.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2015-12-07 00:27:52 +01:00

36 lines
578 B
Docker

###
# Mainflux Dockerfile
###
# Set the base image to Node, onbuild variant: https://registry.hub.docker.com/_/node/
FROM node:4.2.3
MAINTAINER Mainflux
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
EXPOSE 8080
###
# Run main command from entrypoint and parameters in CMD[]
###
CMD [""]
# Set default container command
ENTRYPOINT gulp