diff --git a/.Dockerfile.swp b/.Dockerfile.swp new file mode 100644 index 00000000..e4e97494 Binary files /dev/null and b/.Dockerfile.swp differ diff --git a/Dockerfile b/Dockerfile index 9f4482a4..27702156 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as build-stage +FROM node:20.15.1-alpine3.20 as build-stage ARG REACT_APP_BACKEND_URL ARG REACT_APP_KEYCLOAK_URL ARG REACT_APP_KEYCLOAK_REALM @@ -12,7 +12,7 @@ COPY . /app WORKDIR /app RUN npm install -f -s ENV NODE_OPTIONS="--max_old_space_size=4096" -RUN npm run build --verbose +RUN npm run build -f --verbose RUN rm -rf /app/build/static/js/*.map FROM nginx:alpine as production-stage COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf diff --git a/package.json b/package.json index 62e86b9f..d8fedf62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "0.41.2", + "version": "0.41.3", "private": true, "scripts": { "dev": "GENERATE_SOURCEMAP=false react-scripts start",