From 1d30b65b2d7e49e6fcadfd5f630a33c6fccffbcf Mon Sep 17 00:00:00 2001 From: lev tarasov <56757711+levil664@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:10:43 +0500 Subject: [PATCH] work local build, but docker doesn't work --- apps/schools/dev.Dockerfile | 2 +- apps/schools/domains/query/components/queryList/index.tsx | 3 +-- apps/schools/package.json | 3 ++- apps/schools/prod.Dockerfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/schools/dev.Dockerfile b/apps/schools/dev.Dockerfile index 1f20126f..626b238c 100644 --- a/apps/schools/dev.Dockerfile +++ b/apps/schools/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine AS runner +FROM node:18.17.0-alpine AS runner RUN node -v diff --git a/apps/schools/domains/query/components/queryList/index.tsx b/apps/schools/domains/query/components/queryList/index.tsx index e8153aff..2c1b2499 100644 --- a/apps/schools/domains/query/components/queryList/index.tsx +++ b/apps/schools/domains/query/components/queryList/index.tsx @@ -16,8 +16,7 @@ import { isReactElement } from '@domains/common/utils/react' import { sumObjectValues } from '@domains/common/utils/sumObjectValues' import { BubbleFilter } from '@domains/common/components/bubbleFilter' import { BubbleFilterListItem } from '@domains/common/components/bubbleFilter/interface' -import { useQueryState } from 'next-usequerystate' -import { parseAsArrayOf, parseAsString } from 'next-usequerystate' +import { parseAsArrayOf, parseAsString, useQueryState } from 'next-usequerystate' import { AppRoutes, RoutePath } from '@domains/common/constants/routerEnums' import SearchInput from '@domains/common/components/searchInput' import { defaultPaginationTablePage, defaultPaginationTablePageSize } from '@domains/common/constants/Table' diff --git a/apps/schools/package.json b/apps/schools/package.json index d0cebe1c..003439a4 100644 --- a/apps/schools/package.json +++ b/apps/schools/package.json @@ -50,11 +50,12 @@ "less": "^4.1.3", "lint-staged": "^13.2.3", "lodash": "^4.17.21", - "next": "^13.4.5", + "next": "14.0.2", "next-compose-plugins": "^2.2.1", "next-i18next": "^7.0.1", "next-transpile-modules": "^10.0.0", "next-usequerystate": "^1.17.1", + "nuqs": "^1.17.4", "phone": "^3.1.37", "qs": "^6.11.2", "rc-queue-anim": "^2.0.0", diff --git a/apps/schools/prod.Dockerfile b/apps/schools/prod.Dockerfile index 1f20126f..626b238c 100644 --- a/apps/schools/prod.Dockerfile +++ b/apps/schools/prod.Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine AS runner +FROM node:18.17.0-alpine AS runner RUN node -v