Skip to content

Commit

Permalink
Missing express-rate-limit in Docker image
Browse files Browse the repository at this point in the history
Add express-rate-limit to Dockerfile
Move to express-rate-limit to devDependencies
  • Loading branch information
amvanbaren committed Aug 2, 2024
1 parent ff3a534 commit 4a06b3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ COPY --chown=node:node --from=builder /home/node/builder/lib/default/server.js /
WORKDIR /home/node/webui

# Install Express server
RUN yarn add express@4.17.1
RUN yarn add express@4.18.2
RUN yarn add express-rate-limit@7.2.0

EXPOSE 3000
ENTRYPOINT ["node", "lib/default/server"]
2 changes: 1 addition & 1 deletion webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"clipboard-copy": "^4.0.1",
"clsx": "^1.2.1",
"dompurify": "^3.0.4",
"express-rate-limit": "^7.2.0",
"fetch-retry": "^5.0.6",
"lodash": "^4.17.21",
"markdown-it": "^13.0.1",
Expand Down Expand Up @@ -92,6 +91,7 @@
"eslint": "^8.44.0",
"eslint-plugin-react": "^7.32.2",
"express": "^4.18.2",
"express-rate-limit": "^7.2.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.5",
"source-map-loader": "^4.0.1",
Expand Down

0 comments on commit 4a06b3f

Please sign in to comment.