1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-27 13:48:49 +08:00
Mainflux.mainflux/Dockerfile
2015-07-28 00:50:20 +02:00

29 lines
521 B
Docker

###
# Mainflux Dockerfile
###
# Set the base image to Node, onbuild variant: https://registry.hub.docker.com/_/node/
FROM node:0.10.38
RUN apt-get update -qq && apt-get install -y build-essential
RUN mkdir /src
RUN npm install -g gulp
RUN npm install -g nodemon
WORKDIR /src
ADD package.json /src/package.json
RUN npm install
EXPOSE 8080
###
# Run main command from entrypoint and parameters in CMD[]
###
# Default port to execute the entrypoint (MongoDB)
CMD [""]
# Set default container command
ENTRYPOINT gulp