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-3035795 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326666 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326668 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326688
This commit is contained in:
parent
08e5e5b48e
commit
2a66850da0
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16.13.2-alpine AS BUILD_IMAGE
|
FROM node:16.19.1-alpine AS BUILD_IMAGE
|
||||||
|
|
||||||
# Set the platform to build image for
|
# Set the platform to build image for
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
@ -25,7 +25,7 @@ COPY . ./
|
||||||
RUN yarn build --mode production
|
RUN yarn build --mode production
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM node:16.13.2-alpine
|
FROM node:16.19.1-alpine
|
||||||
|
|
||||||
# Define some ENV Vars
|
# Define some ENV Vars
|
||||||
ENV PORT=80 \
|
ENV PORT=80 \
|
||||||
|
|
Loading…
Reference in New Issue