Skip to content

Commit

Permalink
Merge pull request #32 from NDLANO/remove-yarn-manual-install
Browse files Browse the repository at this point in the history
remove manual yarn install in dockerfile
  • Loading branch information
narhen authored Aug 31, 2017
2 parents e3b65d8 + bcf7d9a commit ac6b0b8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ FROM node:8.2-alpine
ENV HOME=/home/app
ENV APP_PATH=$HOME/listing-frontend

#Install yarn
ENV YARN_VERSION 0.27.5
ADD https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v${YARN_VERSION}.tar.gz /opt/yarn-dir
RUN cd /opt/ && mv yarn-dir/dist yarn && rmdir yarn-dir
ENV PATH $PATH:/opt/yarn/bin/

# Copy necessary files for installing dependencies
COPY yarn.lock package.json $APP_PATH/

Expand Down

0 comments on commit ac6b0b8

Please sign in to comment.