mirror of https://github.com/lissy93/dashy
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-2946727 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-2946729 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035792 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822
This commit is contained in:
parent
8e71ee73e8
commit
1c4f65cda3
|
@ -1,4 +1,4 @@
|
|||
FROM node:16.13.2-alpine AS BUILD_IMAGE
|
||||
FROM node:16.18-alpine AS BUILD_IMAGE
|
||||
|
||||
# Set the platform to build image for
|
||||
ARG TARGETPLATFORM
|
||||
|
@ -25,7 +25,7 @@ COPY . ./
|
|||
RUN yarn build --mode production
|
||||
|
||||
# Production stage
|
||||
FROM node:16.13.2-alpine
|
||||
FROM node:16.18-alpine
|
||||
|
||||
# Define some ENV Vars
|
||||
ENV PORT=80 \
|
||||
|
|
Loading…
Reference in New Issue