mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
refactor with async/await
Trying to be more robust about error handling and failure.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user