This commit is contained in:
parent
770c02bd7e
commit
2f1c9835ff
@ -36,6 +36,9 @@ RUN pnpm install --frozen-lockfile --quiet
|
||||
|
||||
# Build the project
|
||||
COPY --from=builder /app/out/full/ .
|
||||
|
||||
RUN ls -la
|
||||
|
||||
RUN pnpm turbo run build --filter=frontend...
|
||||
|
||||
FROM base AS runner
|
||||
|
@ -1,9 +1,18 @@
|
||||
import { withSentryConfig } from "@sentry/nextjs";
|
||||
import { format } from "@formkit/tempo";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
|
||||
const __dirname = path.dirname(__filename); // get the name of the directory
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
webpack: (config) => {
|
||||
config.resolve.alias['@'] = path.join(__dirname, 'src');
|
||||
return config;
|
||||
},
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
@ -22,7 +22,7 @@
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"preserveWatchOutput": true,
|
||||
"baseUrl": "../../apps/frontend",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*.ts", "./src/*"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user