Skip to content

Commit

Permalink
fix: Dockerfile to reduce vulnerabilities (#16)
Browse files Browse the repository at this point in the history
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532

Co-authored-by: snyk-bot <[email protected]>
  • Loading branch information
panagiop and snyk-bot authored Aug 18, 2024
1 parent bdeef54 commit c17007a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM node:22.5.1-alpine as builder

FROM node:22.6-alpine as builder
COPY package.json /srv/node-clean-architecture/
WORKDIR /srv/node-clean-architecture/

Expand All @@ -17,8 +16,7 @@ COPY tests /srv/node-clean-architecture/tests/

RUN yarn run build

FROM node:22.5.1-alpine

FROM node:22.6-alpine

ENV HTTP_MODE http
ARG NODE_PROCESSES=2
Expand Down

0 comments on commit c17007a

Please sign in to comment.