Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
FROM node:6

RUN apt-get update && apt-get install -y apt-transport-https && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt-get install -y yarn
FROM node:10

WORKDIR /app

EXPOSE 9231

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

# Bundle app source
ADD . /app
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ In order to use **limitd** you need to setup the server and consume it from the

This example assumes that you want to implement rate limiting for an express application.

**Support for Node v8.x.x / v10.x.x has been added as of the v6.0.0 release.**

### node.js client
To instantiate the **limitd** client:

Expand Down
Loading