From 7ebb596e836bf6bb0be343ec27f59c274fb7ed3e Mon Sep 17 00:00:00 2001 From: Alie Date: Mon, 9 Dec 2024 10:33:07 +0100 Subject: [PATCH] uodate nginx --- Dockerfile | 2 +- package-lock.json | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42c709d..fad568b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,5 +5,5 @@ RUN cd /temp/prod && npm install --frozen-lockfile COPY . /temp/prod/ RUN cd /temp/prod && npm run build -FROM nginx AS release +FROM nginx:1-alpine3.20-slim AS release COPY --from=install /temp/prod/dist /usr/share/nginx/html diff --git a/package-lock.json b/package-lock.json index b865458..4f16bb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -225,20 +225,6 @@ "@esbuild/win32-x64": "0.24.0" } }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/nanoid": { "version": "3.3.8", "funding": [