Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
Removed Yarn as a hard dependency. Replace it with a package-lock.jso…
Browse files Browse the repository at this point in the history
…n file.
  • Loading branch information
Brian Cottingham committed Aug 6, 2018
1 parent c61301a commit 66917b7
Show file tree
Hide file tree
Showing 3 changed files with 2,191 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM node:10

RUN npm install yarn

WORKDIR /app
ADD package.json /app/package.json
ADD yarn.lock /app/yarn.lock
RUN yarn install
ADD package-lock.json /app/package-lock.json
RUN npm install

ADD . /app

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ crossorigin.me is a CORS proxy. It lets developers (like you!) access resources
# Building

```
npm install -g yarn
yarn install
npm install
npm start
```

Expand Down
Loading

0 comments on commit 66917b7

Please sign in to comment.