From 45a6a08fc1bef08f825b8e5fed57b6a89a7a84be Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 3 Apr 2017 15:15:55 +0300 Subject: [PATCH] feature(Dockerfile) alpine: rm node-pty < 0.6.3 fallback --- Dockerfile.alpine | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 636aacf2..1ae6021d 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -7,17 +7,10 @@ WORKDIR /usr/src/app COPY package.json /usr/src/app/ RUN npm install --production && \ - apk add --no-cache git bash make g++ python && \ - npm i node-pty@">0.6.2" || \ - (cd node_modules && \ - git clone https://github.com/Tyriar/node-pty && \ - cd node-pty && \ - npm i && npm run tsc && \ - npm run install && \ - rm -rf .git && \ - cd ../..) && \ + apk update && \ + apk add --no-cache bash make g++ python && \ npm i gritty && \ - apk del git make g++ python && \ + apk del make g++ python && \ rm -rf /usr/include /tmp/* /var/cache/apk/* COPY . /usr/src/app