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

Commit c61301a

Browse files
author
Brian Cottingham
committed
Document building. Add Dockerfile. Reference unofficial Docker build in README.
1 parent bdf5fb8 commit c61301a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM node:10
2+
3+
RUN npm install yarn
4+
5+
WORKDIR /app
6+
ADD package.json /app/package.json
7+
ADD yarn.lock /app/yarn.lock
8+
RUN yarn install
9+
10+
ADD . /app
11+
12+
CMD npm start

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ Status](https://travis-ci.org/technoboy10/crossorigin.me.svg?branch=v2)](https:/
1010

1111
crossorigin.me is a CORS proxy. It lets developers (like you!) access resources from other sites that don't have CORS enabled on their server. See [the website](https://crossorigin.me) for more information.
1212

13+
# Building
1314

15+
```
16+
npm install -g yarn
17+
yarn install
18+
npm start
19+
```
20+
21+
# Docker
22+
An unofficial Docker image is available at `spiffytech/crossorigin.me`

0 commit comments

Comments
 (0)