From 684f3f70dd28dd01c0712aac324ef9bcd398f1a5 Mon Sep 17 00:00:00 2001 From: Dome Date: Fri, 28 Mar 2025 14:18:21 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc19f41..ea84dd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ # Stage 1: Build -FROM node:20.2-alpine AS build +FROM node:20.2-alpine3.15 AS build WORKDIR /app COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile --production && yarn cache clean COPY . . # Stage 2: Production -FROM nginx:alpine +FROM nginx:alpine3.15 WORKDIR /etc/nginx -COPY nginx.conf /etc/nginx/nginx.conf +COPY ./nginx.conf /etc/nginx/nginx.conf WORKDIR /usr/share/nginx/html COPY --from=build /app/build .