refactor with async/await

Trying to be more robust about error handling and failure.
This commit is contained in:
Roman Shtylman
2016-07-09 17:06:13 -07:00
parent f12f1c81b3
commit a2a58f4c6f
10 changed files with 290 additions and 221 deletions

View File

@@ -1,13 +1,11 @@
FROM mhart/alpine-node:4.2.1
FROM mhart/alpine-node:6.3.0
RUN mkdir -p /app
WORKDIR /app
ADD package.json /app/
RUN apk add --update make git g++ python && \
npm install --production && \
apk del git make g++ python && \
RUN npm install --production && \
rm -rf /tmp/* /root/.npm /root/.node-gyp
ADD . /app