Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ COPY --from=build --chown=node:node /app/packages/landing/public ./packages/land
ENV HOSTNAME=0.0.0.0
ENV PORT=3000
ENV NODE_ENV=production
# Pairs with experimental.serverSourceMaps so runtime traces resolve to src.
ENV NODE_OPTIONS=--enable-source-maps
# Build provenance, baked late so a changing SHA only busts this layer.
ARG COMMIT_SHA=""
ARG BUILD_TIME=""
Expand Down
2 changes: 2 additions & 0 deletions packages/landing/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const API_URL =

const nextConfig: NextConfig = {
output: 'standalone',
// Server maps make prod stack traces point at src, not the minified bundle.
experimental: { serverSourceMaps: true },
async redirects() {
return [
// Short link to the generic connect guide.
Expand Down