mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM node:lts
|
||||
|
||||
# Build stage
|
||||
FROM node:lts-alpine AS build
|
||||
FROM node:20.15.1-alpine3.20 AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -16,7 +16,7 @@ RUN yarn build
|
||||
RUN yarn cache clean
|
||||
|
||||
# Final stage
|
||||
FROM node:lts-alpine AS final
|
||||
FROM node:20.15.1-alpine3.20 AS final
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user