- ######################
- ## Dockerfile to build container images consisting of Node.js and nginx environment
- # Based on Ubuntu
- #####
- # Set the base image to Ubuntu
- FROM ubuntu
- # File Author / Maintainer
- # MAINTAINER name Chunteng Xiao
- RUN apt-get update
- RUN apt-get install -y nodejs nginx npm
- RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
- ADD default /etc/nginx/sites-available
- EXPOSE 80
|