From c26b6b83a73d49d02d8248c70690dc9c7feb8310 Mon Sep 17 00:00:00 2001 From: Rev Date: Tue, 12 Dec 2023 09:50:46 +0000 Subject: [PATCH] Update Dockerfile.docs (!174) * Upgrade Node version from 14 to 18 and also add `alpine` as well for smaller image and faster build * Update Nginx image to use stable version and also `alpine` as well for smaller image and faster build Co-authored-by: Rev Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/174 Reviewed-by: chomp Co-authored-by: Rev Co-committed-by: Rev --- project/Dockerfile.docs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/Dockerfile.docs b/project/Dockerfile.docs index 48633cf3..10488feb 100644 --- a/project/Dockerfile.docs +++ b/project/Dockerfile.docs @@ -1,4 +1,4 @@ -FROM node:14 as builder +FROM node:18-alpine as builder WORKDIR /app @@ -8,6 +8,6 @@ RUN npm i COPY . . RUN npm run gen:docs -FROM nginx:latest +FROM nginx:stable-alpine3.17 COPY --from=builder /app/docs /usr/share/nginx/html \ No newline at end of file