aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile17
-rw-r--r--docker-compose.yml6
2 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7cbd1fd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM debian:jessie
+
+RUN apt-get update && apt-get -y install apt-transport-https curl g++ make python ruby
+
+RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
+
+RUN apt-get -y install nodejs
+
+COPY . /var/www/pev
+
+WORKDIR /var/www/pev
+
+RUN npm install -g gulp
+
+RUN npm install
+
+CMD cd /var/www/pev && npm start
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..fbca53d
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,6 @@
+pev:
+ build: .
+ ports:
+ - "8000:8000"
+ volumes:
+ - ./:/var/www/pev/