Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from sandoche/master
Browse files Browse the repository at this point in the history
docker support
  • Loading branch information
vineetchoudhary authored Nov 12, 2022
2 parents bcc853c + 8608991 commit 2208074
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:14

WORKDIR /usr/src/app

COPY . .

RUN npm install

EXPOSE 8080
CMD [ "node", "server.js" ]
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ export CORSANYWHERE_BLACKLIST=https://abuse.example.com,http://abuse.example.com
export CORSANYWHERE_RATELIMIT='50 3 my.example.com my2.example.com'
node server.js
```

## Run with docker
docker build . -t cors-anywhere
docker run -p 8080:80 cors-anywhere

## License

Expand Down

0 comments on commit 2208074

Please sign in to comment.