From fd1f0280771603b1b6c0a2aea27023236ce24b2e Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 27 Oct 2024 22:09:15 -0600 Subject: [PATCH] refactor: iupdate --- Dockerfile.website | 5 +---- app/[locale]/pricing/page.tsx | 1 + package.json | 3 +-- pnpm-lock.yaml | 6 +++--- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile.website b/Dockerfile.website index 394d973..43fbb3a 100644 --- a/Dockerfile.website +++ b/Dockerfile.website @@ -11,16 +11,13 @@ COPY . . # Install dependencies COPY package.json pnpm-lock.yaml ./ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile - # Deploy only the dokploy app - ENV NODE_ENV=production RUN pnpm run build FROM base AS dokploy WORKDIR /app - # Set production ENV NODE_ENV=production @@ -32,4 +29,4 @@ COPY --from=build /app/node_modules ./node_modules EXPOSE 3000 -CMD HOSTNAME=0.0.0.0 && pnpm start \ No newline at end of file +CMD ["pnpm", "start"] \ No newline at end of file diff --git a/app/[locale]/pricing/page.tsx b/app/[locale]/pricing/page.tsx index f1e1dd7..0132d64 100644 --- a/app/[locale]/pricing/page.tsx +++ b/app/[locale]/pricing/page.tsx @@ -1,3 +1,4 @@ +"use client"; import { Pricing } from "../../../components/pricing"; export default function Home() { diff --git a/package.json b/package.json index ce75588..33cdb68 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "check": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", "typecheck": "tsc --noEmit" }, - "browserslist": "defaults, not ie <= 11", "dependencies": { "@headlessui/react": "^1.7.17", "@headlessui/tailwindcss": "^0.2.0", @@ -32,10 +31,10 @@ "tailwind-merge": "^2.2.2", "tailwindcss": "^3.4.1", "tailwindcss-animate": "^1.0.7", - "typescript": "5.1.6", "@radix-ui/react-tabs": "1.1.1" }, "devDependencies": { + "typescript": "5.1.6", "@biomejs/biome": "1.8.3", "@types/react": "18.3.5", "@types/react-dom": "18.3.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 955f1ae..a10f731 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,9 +68,6 @@ importers: tailwindcss-animate: specifier: ^1.0.7 version: 1.0.7(tailwindcss@3.4.14) - typescript: - specifier: 5.1.6 - version: 5.1.6 devDependencies: '@biomejs/biome': specifier: 1.8.3 @@ -81,6 +78,9 @@ importers: '@types/react-dom': specifier: 18.3.0 version: 18.3.0 + typescript: + specifier: 5.1.6 + version: 5.1.6 packages: