mirror of
https://github.com/SrIzan10/api.git
synced 2026-06-06 00:46:48 +00:00
fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-BUSYBOX-7233533 - https://snyk.io/vuln/SNYK-ALPINE320-BUSYBOX-7233533 - https://snyk.io/vuln/SNYK-ALPINE320-BUSYBOX-7233533 - https://snyk.io/vuln/SNYK-ALPINE320-BUSYBOX-7233586 - https://snyk.io/vuln/SNYK-ALPINE320-BUSYBOX-7233586
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Build stage
|
||||
FROM node:lts-alpine AS build
|
||||
FROM node:20.14.0-alpine3.20 AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -10,7 +10,7 @@ COPY . .
|
||||
RUN yarn build
|
||||
|
||||
# Final stage
|
||||
FROM node:lts-alpine AS final
|
||||
FROM node:20.14.0-alpine3.20 AS final
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user