7
Some checks failed
Deploy Frontend / deploy (push) Failing after 1m16s

This commit is contained in:
Lee 2024-10-04 12:52:36 +01:00
parent 770c02bd7e
commit 2f1c9835ff
3 changed files with 13 additions and 1 deletions

@ -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/*"]
}