fix: frontend/Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-DPKG-2847942 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 - https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-2433933
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ RUN nohup bash -c "redis-server &" && sleep 4 && pnpm run build
|
|||||||
|
|
||||||
### Serve Step
|
### Serve Step
|
||||||
# pull the Node.js Docker image
|
# pull the Node.js Docker image
|
||||||
FROM node:17.8-bullseye-slim
|
FROM node:18.2.0-bullseye-slim
|
||||||
|
|
||||||
# change working directory
|
# change working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Reference in New Issue
Block a user