diff --git a/Dockerfile-client b/Dockerfile-client index b0f35773..7f2e8cd5 100644 --- a/Dockerfile-client +++ b/Dockerfile-client @@ -1,4 +1,4 @@ -FROM node:18 as build +FROM node:22 as build MAINTAINER SDF Ops Team @@ -10,6 +10,6 @@ RUN yarn build:shared RUN yarn build:client # Copy the compiled static files out to an Nginx container, since we don't need any of the Node files. -FROM nginx:1.17 +FROM nginx:1.27 COPY --from=build /app/packages/demo-wallet-client/build/ /usr/share/nginx/html/ COPY --from=build /app/nginx.conf /etc/nginx/conf.d/default.conf diff --git a/Dockerfile-server b/Dockerfile-server index 482dac8b..56cb846f 100644 --- a/Dockerfile-server +++ b/Dockerfile-server @@ -1,4 +1,4 @@ -FROM node:18 as build +FROM node:22 as build MAINTAINER SDF Ops Team @@ -12,7 +12,7 @@ RUN yarn build:server # Copy it all to a clean image to avoid cache artifacts elsewhere in the image -FROM node:18 +FROM node:22 COPY --from=build /app /app WORKDIR /app