Skip to content

Commit

Permalink
fix: sitemap config
Browse files Browse the repository at this point in the history
  • Loading branch information
moolmin committed Sep 24, 2024
1 parent 4fbca49 commit 2dd965f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ FROM --platform=linux/arm64 pre AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
COPY next-sitemap.config.cjs ./

# Set environment variables using build arguments
ARG NEXT_PUBLIC_API_URL
Expand All @@ -50,7 +49,6 @@ COPY --from=builder /app/public ./public
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
COPY next-sitemap.config.cjs ./

# Expose port
EXPOSE 3000
Expand Down
26 changes: 0 additions & 26 deletions next-sitemap.config.cjs

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
"description": "",
"main": "index.js",
"scripts": {
"postbuild": "next-sitemap",
"dev": "next dev",
"build": "next build",
"start": "next start",
"build:dev": "env-cmd -f .env.development next build",
"start:dev": "env-cmd -f .env.development next start -p 6600",
"build:prod": "env-cmd -f .env.production next build",
"start:prod": "env-cmd -f .env.production next start -p 6600",
"test": "echo \"Error: no test specified\" && exit 1",
"sitemap": "next-sitemap --config next-sitemap.config.cjs"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 2dd965f

Please sign in to comment.