This repository has been archived by the owner on Feb 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from datasciencebr/cuducos-yarn-install-on-do…
…cker Install yarn the proper way in Docker
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
FROM node:6.9.1 | ||
RUN npm install -g yarn | ||
|
||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | ||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | ||
RUN sudo apt-get update | ||
RUN sudo apt-get install yarn | ||
|
||
WORKDIR /code | ||
COPY elm-package.json elm-package.json | ||
|
||
COPY yarn.lock yarn.lock | ||
COPY package.json package.json | ||
COPY elm-package.json elm-package.json | ||
COPY gulpfile.js gulpfile.js | ||
RUN yarn install | ||
RUN yarn install --pure-lockfile | ||
|
||
COPY jarbas jarbas | ||
CMD yarn assets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters