18dc1f66c6
Since 9.4 release, fetch is pollyfilled by default from #12353, so the import is not needed anymore.
18 lines
461 B
JSON
18 lines
461 B
JSON
{
|
|
"name": "with-docker",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"build-docker": "docker build -t next-app .",
|
|
"build-docker-multistage": "docker build -t next-app -f ./Dockerfile.multistage .",
|
|
"run-docker": "docker run --rm -it -p 3000:3000 next-app"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0"
|
|
},
|
|
"license": "ISC"
|
|
}
|