mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2025-12-19 05:37:43 +00:00
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3368755 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3368755 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6032385 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6032385 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6095780
This commit is contained in:
@@ -6,7 +6,7 @@ RUN npm install
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm prune
|
RUN npm prune
|
||||||
|
|
||||||
FROM node:18.14.1-alpine as webapp
|
FROM node:18.20.4-alpine as webapp
|
||||||
RUN apk add curl
|
RUN apk add curl
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
COPY . /opt/app
|
COPY . /opt/app
|
||||||
|
|||||||
Reference in New Issue
Block a user