Skip to content

Commit

Permalink
remove manual yarn install in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Nårstad committed Aug 30, 2017
1 parent e3b65d8 commit bcf7d9a
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 bcf7d9a

Please sign in to comment.