Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Feb 18, 2023
1 parent 5b5fcda commit c3e8736
Showing 1 changed file with 2 additions and 2 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

0 comments on commit c3e8736

Please sign in to comment.