aboutsummaryrefslogtreecommitdiff
path: root/arch-nodejs/Dockerfile.online
diff options
context:
space:
mode:
Diffstat (limited to 'arch-nodejs/Dockerfile.online')
-rw-r--r--arch-nodejs/Dockerfile.online11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch-nodejs/Dockerfile.online b/arch-nodejs/Dockerfile.online
index 50921d4..d8dbf37 100644
--- a/arch-nodejs/Dockerfile.online
+++ b/arch-nodejs/Dockerfile.online
@@ -1,10 +1,19 @@
+##
+## Image for Arch Linux system with nodejs and npm.
+##
+## Run this image with volume mounted at /srv/www,
+##
+## docker run -v ${PWD}/src:/srv/www -it sulhan/arch-nodejs
+##
FROM sulhan/arch-base:latest
MAINTAINER Sulhan <ms@kilabit.info>
+VOLUME /srv/www
EXPOSE 80
+COPY init.sh /
COPY bootstrap.sh /
RUN exec /bootstrap.sh
-CMD ["/bin/bash"]
+CMD ["/init.sh"]