Skip to content

Commit

Permalink
Upgrade to Next.js 14.1.0 (#27)
Browse files Browse the repository at this point in the history
- Upgrade to Next.js 14.1.0
- Upgrade Dockerfile use Node.js 20 base image
  • Loading branch information
blrchen committed Jan 20, 2024
1 parent ca349ab commit 16eeb74
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 113 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This Dockerfile is generated based on sample in the following document
# https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile
FROM node:18-alpine AS base
FROM node:20-alpine AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down
5 changes: 1 addition & 4 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
reactStrictMode: true,
experimental: {
appDir: true
}
reactStrictMode: true
}

module.exports = nextConfig
188 changes: 88 additions & 100 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 16eeb74

Please sign in to comment.