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

Commit 66917b7

Browse files
author
Brian Cottingham
committed
Removed Yarn as a hard dependency. Replace it with a package-lock.json file.
1 parent c61301a commit 66917b7

File tree

3 files changed

+2191
-6
lines changed

3 files changed

+2191
-6
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
FROM node:10
22

3-
RUN npm install yarn
4-
53
WORKDIR /app
64
ADD package.json /app/package.json
7-
ADD yarn.lock /app/yarn.lock
8-
RUN yarn install
5+
ADD package-lock.json /app/package-lock.json
6+
RUN npm install
97

108
ADD . /app
119

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ crossorigin.me is a CORS proxy. It lets developers (like you!) access resources
1313
# Building
1414

1515
```
16-
npm install -g yarn
17-
yarn install
16+
npm install
1817
npm start
1918
```
2019

0 commit comments

Comments
 (0)