mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-01-25 02:08:19 +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-5291795 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5296043 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-5438697
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.16.0-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