Skip to content

Commit

Permalink
build: update some dependencies to reduce vulnerabilities (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumen1102 authored Jul 23, 2024
1 parent b47fbee commit 78bcc05
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 52 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A temporary image that installs dependencies and
# builds the production-ready front-end bundles.

FROM node:12-alpine as bundles
FROM node:14.21.2-alpine as bundles
WORKDIR /usr/src/smee.io
COPY package*.json ./
COPY webpack.config.js ./
Expand All @@ -13,7 +13,7 @@ RUN npm ci && npm run build && env NODE_ENV=production npm prune

# --------------------------------------------------------------------------------

FROM node:12-alpine
FROM node:14.21.2-alpine
LABEL description="Smee.io"

# Let's make our home
Expand Down
115 changes: 68 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"cors": "^2.8.5",
"date-fns": "^2.12.0",
"dotenv": "^8.2.0",
"eventsource": "^1.0.7",
"express": "^4.17.1",
"eventsource": "^1.1.1",
"express": "^4.17.3",
"express-sslify": "^1.2.0",
"get-value": "^3.0.1",
"helmet": "^3.22.0",
"ioredis": "^4.16.3",
"ioredis": "^4.27.8",
"prop-types": "^15.7.2",
"raven": "^2.6.4",
"react": "^16.13.1",
Expand Down

0 comments on commit 78bcc05

Please sign in to comment.