Skip to content

Commit

Permalink
yarn -> npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mreishus committed Jan 26, 2020
1 parent dd5ffac commit c5ea101
Show file tree
Hide file tree
Showing 4 changed files with 7,129 additions and 5,141 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM elixir:1.9.4-alpine as build

# install build dependencies
RUN apk add --update git build-base nodejs yarn python npm
RUN apk add --update git build-base nodejs python npm

# prepare build dir
RUN mkdir /app
Expand Down Expand Up @@ -44,7 +44,7 @@ COPY apps/demon_spirit_game/lib/ apps/demon_spirit_game/lib/
COPY apps/demon_spirit/lib/ apps/demon_spirit/lib/
COPY apps/demon_spirit_web/lib/ apps/demon_spirit_web/lib/

RUN cd apps/demon_spirit_web/assets && yarn install && yarn run deploy
RUN cd apps/demon_spirit_web/assets && npm install && npm run deploy
RUN mix phx.digest


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Built in Elixir, Phoenix, and Phoenix Live View.
```
mix deps.get
cd ./apps/demon_spirit_web/assets
yarn install
npm install
cd ../../../
mix phx.server
```
Expand Down
Loading

0 comments on commit c5ea101

Please sign in to comment.