diff options
author | Alex Tatiyants <atatiyan@gmail.com> | 2016-10-03 08:39:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-03 08:39:15 -0700 |
commit | 6d31cdd75f557761d7581da6c46586792e5f2dad (patch) | |
tree | da89d2edf416f1be2a3b4eb97bd35dfa4372ec9b | |
parent | d7bac26ce4a8618c4e0bba5335880c92d09acc32 (diff) | |
parent | 82f79d5aacb744f5904dfd57989e96e0462fffd1 (diff) |
Add dockerfile
-rw-r--r-- | Dockerfile | 19 | ||||
-rw-r--r-- | docker-compose.yml | 6 | ||||
-rw-r--r-- | tsdrc | 3 |
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/ @@ -0,0 +1,3 @@ +{ + "strictSSL": false +} |