aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Tatiyants <atatiyan@gmail.com>2016-10-03 08:39:15 -0700
committerGitHub <noreply@github.com>2016-10-03 08:39:15 -0700
commit6d31cdd75f557761d7581da6c46586792e5f2dad (patch)
treeda89d2edf416f1be2a3b4eb97bd35dfa4372ec9b
parentd7bac26ce4a8618c4e0bba5335880c92d09acc32 (diff)
parent82f79d5aacb744f5904dfd57989e96e0462fffd1 (diff)
Merge pull request #20 from mcginleyr1/masterHEADmaster
Add dockerfile
-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
+}