Merge pull request #211 from stpice/fix-dockerfile-support-rimraf

解决#210的问题
pull/275/head
Bosn 7 years ago committed by GitHub
commit 9eba9d47d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,4 +2,4 @@ FROM node:8.11.1-alpine
WORKDIR /app
ADD . /tmp
RUN /bin/sh -c 'cd /tmp && npm run build && mv ./dist/* /app/ && mv ./node_modules /app/ && rm -rf /tmp'
RUN /bin/sh -c 'cd /tmp && npm install && npm install -g typescript && npm run build && mv ./dist/* /app/ && mv ./node_modules /app/ && rm -rf /tmp'

Loading…
Cancel
Save