aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile19
-rw-r--r--docker-compose.yml6
-rw-r--r--tsdrc3
3 files changed, 28 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..b0a2b78
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+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 tsdrc ~/.tsdrc
+
+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/
diff --git a/tsdrc b/tsdrc
new file mode 100644
index 0000000..06f0932
--- /dev/null
+++ b/tsdrc
@@ -0,0 +1,3 @@
+{
+ "strictSSL": false
+}