fix vulnerabilities from Harbor

pull/25/head
Clement FERRERE 2 years ago
parent da3d111ce2
commit 251985ffee
  1. 4
      Dockerfile
  2. 15982
      package-lock.json

@ -1,5 +1,5 @@
# Stage 1 : Building the application # Stage 1 : Building the application
FROM node:16-alpine3.14 as build-step FROM node:16-alpine3.15 as build-step
RUN mkdir -p /app RUN mkdir -p /app
@ -12,7 +12,7 @@ RUN npm install
RUN npm run build --prod RUN npm run build --prod
# Stage 2 : Deploying the application on Nginx # Stage 2 : Deploying the application on Nginx
FROM nginx:1.17.1-alpine FROM nginx:1.23.1-alpine
RUN rm -rf /usr/share/nginx/html/* && rm -rf /etc/nginx/nginx.conf RUN rm -rf /usr/share/nginx/html/* && rm -rf /etc/nginx/nginx.conf
COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./nginx.conf /etc/nginx/nginx.conf

15982
package-lock.json generated

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save