refactor: iupdate

This commit is contained in:
Mauricio Siu 2024-10-27 22:09:15 -06:00
parent c862207381
commit fd1f028077
4 changed files with 6 additions and 9 deletions

View File

@ -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
CMD ["pnpm", "start"]

View File

@ -1,3 +1,4 @@
"use client";
import { Pricing } from "../../../components/pricing";
export default function Home() {

View File

@ -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"

View File

@ -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: