Skip to content

Commit

Permalink
Merge pull request #5 from slub/main
Browse files Browse the repository at this point in the history
fix standalone config for docker build
  • Loading branch information
bastiion authored Sep 30, 2024
2 parents ad36596 + b9bcb62 commit 8b082ab
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions apps/exhibition-live/next.config.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,27 @@ const removeImports = require("next-remove-imports")({
const nextConfig = {
reactStrictMode: true,
output: "standalone",
modularizeImports: {
"@mui/icons-material": { transform: "@mui/icons-material/{{member}}" },
lodash: { transform: "lodash/{{member}}" },
"lodash-es": { transform: "lodash-es/{{member}}" },
},
experimental: {
externalDir: true,
optimizePackageImports: [
"@mui/material",
"@mui/icons-material",
"@mui/lab",
],
},
images: {
unoptimized: true,
},
basePath: process.env.NEXT_PUBLIC_BASE_PATH,
basePath: process.env.NEXT_PUBLIC_BASE_PATH || "",
publicRuntimeConfig: {
NEXT_PUBLIC_GAPI_OAUTH_CLIENT_ID:
process.env.NEXT_PUBLIC_GAPI_OAUTH_CLIENT_ID,
NEXT_PUBLIC_BASE_PATH: process.env.NEXT_PUBLIC_BASE_PATH,
NEXT_PUBLIC_BASE_PATH: process.env.NEXT_PUBLIC_BASE_PATH || "",
SPARQL_ENDPOINT: process.env.SPARQL_ENDPOINT,
SPARQL_ENDPOINT_LABEL: process.env.SPARQL_ENDPOINT_LABEL,
SPARQL_ENDPOINT_PROVIDER: process.env.SPARQL_ENDPOINT_PROVIDER,
Expand Down

0 comments on commit 8b082ab

Please sign in to comment.