|
|
@@ -0,0 +1,16 @@
|
|
|
+######################
|
|
|
+## 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 nodejs nginx
|
|
|
+RUN rm -v /etc/nginx/nginx.conf
|
|
|
+ADD nginx.conf /etc/nginx
|
|
|
+EXPOSE 80
|
|
|
+CMD service nginx start
|