From 38e9f967326b6c62b7a5e9f5daceb3a72f34a74c Mon Sep 17 00:00:00 2001 From: PA4KEV Date: Tue, 15 Aug 2023 21:45:02 +0200 Subject: [PATCH] Update node and nginx container versions. --- Dockerfile | 4 ++-- README.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index bec7877..3ca8b6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # stage1 - build react app first -FROM node:19.3.0-alpine as build +FROM node:20.5.1-alpine as build WORKDIR /app ENV PATH /app/node_modules/.bin:$PATH COPY ./package.json /app/ @@ -8,7 +8,7 @@ COPY . /app RUN npm run build # stage 2 - build the final image and copy the react build files -FROM nginx:1.19.0-alpine +FROM nginx:1.25.1-alpine COPY --from=build /app/build /usr/share/nginx/html RUN rm /etc/nginx/conf.d/default.conf COPY config/nginx/nginx.conf /etc/nginx/conf.d diff --git a/README.md b/README.md index b011053..bfba1f6 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,6 @@ `docker push pa4kev/portfolio-reactjs-full:latest` -Node: `v19.3.0` - ## Server (Enaga) `docker pull pa4kev/portfolio-reactjs-full`