blob: 4bf1e02dda553b46e0a2b37409b2dd7ac20976fc [file] [log] [blame]
Matteo Scandolo11b4a632017-02-09 10:28:41 -08001# To build use: docker build -t xosproject/xos-gui-extension-builder .
2
3FROM node:argon
4
5# Set environment vars
6ENV CODE_SOURCE .
7ENV CODE_DEST /var/www
8
9# Add the app deps
10COPY ${CODE_SOURCE}/package.json ${CODE_DEST}/package.json
11COPY ${CODE_SOURCE}/typings.json ${CODE_DEST}/typings.json
12
13# Install Deps
14WORKDIR ${CODE_DEST}
15RUN npm install
16RUN npm run typings