diff --git a/Dockerfile b/Dockerfile index 3b9b8cb..0fd0314 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ COPY --from=deps /app/node_modules ./node_modules COPY --from=builder /app/.next ./.next COPY --from=builder /app/public ./public COPY --from=builder /app/package.json ./package.json -COPY --from=builder /app/next.config.ts ./next.config.ts +COPY --from=builder /app/next.config.js ./next.config.js EXPOSE 3000 CMD ["npm", "start"] diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..34ea03a --- /dev/null +++ b/next.config.js @@ -0,0 +1,10 @@ +const path = require("path"); + +/** @type {import('next').NextConfig} */ +const nextConfig = { + turbopack: { + root: path.resolve(__dirname), + }, +}; + +module.exports = nextConfig; diff --git a/next.config.ts b/next.config.ts deleted file mode 100644 index b060a82..0000000 --- a/next.config.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { NextConfig } from "next"; -import path from "path"; - -const nextConfig: NextConfig = { - turbopack: { - root: path.resolve(__dirname), - }, -}; - -export default nextConfig;