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