parent
a6c6ecf275
commit
4b8324620e
@ -0,0 +1,3 @@ |
||||
node_modules |
||||
builds |
||||
development |
@ -0,0 +1,22 @@ |
||||
FROM node:6 |
||||
MAINTAINER kumavis |
||||
|
||||
# setup app dir |
||||
RUN mkdir -p /www/ |
||||
WORKDIR /www/ |
||||
|
||||
# install dependencies |
||||
COPY ./package.json /www/package.json |
||||
RUN npm install |
||||
|
||||
# copy over app dir |
||||
COPY ./ /www/ |
||||
|
||||
# run tests |
||||
# RUN npm test |
||||
|
||||
# build app |
||||
RUN npm run dist |
||||
|
||||
# start server |
||||
CMD node mascara/example/server.js |
@ -0,0 +1,11 @@ |
||||
metamascara: |
||||
build: ./ |
||||
restart: always |
||||
ports: |
||||
- "9001" |
||||
environment: |
||||
MASCARA_ORIGIN: "https://zero.metamask.io" |
||||
VIRTUAL_PORT: "9001" |
||||
VIRTUAL_HOST: "zero.metamask.io" |
||||
LETSENCRYPT_HOST: "zero.metamask.io" |
||||
LETSENCRYPT_EMAIL: "admin@metamask.io" |
Loading…
Reference in new issue