From 025479e52d3b0ef71827a548eae49bfa1c4387fa Mon Sep 17 00:00:00 2001 From: 1ilit Date: Sun, 14 Apr 2024 10:20:14 +0300 Subject: [PATCH] Fix dockerfile comments --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 724eafa..fa5f349 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# Stage 1: Build the NextJS Application +# Stage 1: Build the app FROM node:20-alpine as build WORKDIR /app COPY package*.json ./ @@ -6,7 +6,7 @@ RUN npm ci COPY . . RUN npm run build -# Stage 2: Setup the Nginx Server to serve the NextJS Application +# Stage 2: Setup the Nginx Server to serve the app FROM nginx:stable-alpine3.17 as production COPY --from=build /app/dist /usr/share/nginx/html RUN echo 'server { listen 80; server_name _; root /usr/share/nginx/html; location / { try_files $uri /index.html; } }' > /etc/nginx/conf.d/default.conf