This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --- base --- | |
| FROM node:8-alpine AS base | |
| RUN mkdir -p /var/www && mkdir -p /var/log/app | |
| ADD package.json /var/www | |
| COPY . /tmp/ | |
| RUN cd /tmp && \ | |
| apk add --no-cache make gcc g++ python && \ | |
| npm install -g typescript && \ | |
| npm install --production --silent && \ | |
| npm run build && \ |
NewerOlder