1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Add dockerfile

This commit is contained in:
Sylvain Bellemare 2016-01-28 22:51:17 +01:00
parent f2542f99bd
commit e46a116bac
2 changed files with 21 additions and 0 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
.git
.eslintignore
.eslintrc
.gitignore
Dockerfile
README.md

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:5.5.0
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
RUN npm install -g gulp
EXPOSE 3000
ENV ONION_BASE_URL='/'
ENV ONION_SERVER_URL='http://spool.ascribe:49880/'
CMD [ "gulp", "serve" ]