mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
23 lines
303 B
Docker
23 lines
303 B
Docker
|
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
|