diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 2800a20..18b1fae 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -1,3 +1,3 @@ -FROM nginxinc/nginx-unprivileged:1.23-alpine +FROM nginxinc/nginx-unprivileged:1.25-alpine COPY default.nginx /etc/nginx/conf.d/default.conf USER 1000 diff --git a/web/Dockerfile b/web/Dockerfile index 4f27157..0d4d2f0 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as base +FROM node:20-alpine as base ENV REACT_APP_APPLICATION_OWNER=ovbra@equinor.com ENV REACT_APP_CLIENT_ID=1dbc1e96-268d-41ad-894a-92a9fb85f954 ENV REACT_APP_SCOPES="api://lost-circulation-material-api/Optimization.All.All" @@ -16,7 +16,7 @@ CMD ["yarn", "start"] FROM base as build RUN yarn build -FROM node:18-alpine as prod +FROM node:20-alpine as prod RUN npm install -g serve COPY --from=build /code/build /code/build EXPOSE 3000