summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
committerstartxfr <clarue@startx.fr>2014-11-20 03:17:46 +0100
commita699d0d06feeb1859efea16dd6b3df17901a1bc5 (patch)
tree3a2646acb64a4a9d2440549b2a895648b9289466 /Services/nodejs/Dockerfile
parent8829f895c890685cc25fe3022299b4275808dc06 (diff)
downloadphpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.gz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.bz2
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.xz
phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.zip
modif des services et ajout de memcache, apache et nodejs
Diffstat (limited to 'Services/nodejs/Dockerfile')
-rw-r--r--Services/nodejs/Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Services/nodejs/Dockerfile b/Services/nodejs/Dockerfile
new file mode 100644
index 0000000..99d3023
--- /dev/null
+++ b/Services/nodejs/Dockerfile
@@ -0,0 +1,18 @@
+FROM startx/fedora
+MAINTAINER Chistophe LARUE <dev@startx.fr>
+
+COPY nodejs_run.sh /bin/
+RUN yum -y install nodejs npm \
+ && yum clean all \
+ && mkdir -p /var/www/html \
+ && mkdir -p /var/log/httpd \
+ && chmod ug+rx /bin/nodejs_*
+
+WORKDIR /src
+COPY app.js /src/app.js
+
+EXPOSE 8000
+
+#CMD ["node", "/src/app.js"]
+CMD ["/bin/nodejs_run.sh"]
+ONBUILD CMD ["/bin/nodejs_run.sh"] \ No newline at end of file