diff --git a/.dockerignore b/.dockerignore index 7fcccbc..9146d07 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,10 +1,8 @@ # Dependencies node_modules -.pnpm-store npm-debug.log* yarn-debug.log* yarn-error.log* -pnpm-debug.log* # Testing coverage diff --git a/Dockerfile b/Dockerfile index 5d4fc97..c2a0e3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ COPY . . ENV NEXT_TELEMETRY_DISABLED=1 ENV DOCKER_BUILD=true -RUN bun run build +RUN bun run build:docker FROM oven/bun:1-alpine AS runner WORKDIR /app diff --git a/bun.lock b/bun.lock index e300558..ea533b7 100644 --- a/bun.lock +++ b/bun.lock @@ -6,7 +6,7 @@ "name": "rouge-store", "dependencies": { "@b3-crow/website-hook-sdk": "^0.0.9", - "@opennextjs/cloudflare": "^1.3.0", + "@opennextjs/cloudflare": "^1.14.7", "@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-separator": "^1.1.8", "@radix-ui/react-slot": "^1.2.4", diff --git a/package.json b/package.json index a7218b3..ddcdba7 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "next dev --turbopack", "build": "next build", "build:cloudflare": "opennextjs-cloudflare build", + "build:docker": "next build", "start": "next start", "lint": "eslint .", "lint:fix": "eslint . --fix", @@ -25,7 +26,7 @@ }, "dependencies": { "@b3-crow/website-hook-sdk": "^0.0.9", - "@opennextjs/cloudflare": "^1.3.0", + "@opennextjs/cloudflare": "^1.14.7", "@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-separator": "^1.1.8", "@radix-ui/react-slot": "^1.2.4",