Run Nextjs based on Alpine Linux. Small, lightweight, secure and fast 🏔️
1.6K
Run NextJS based on Alpine Linux. Small, lightweight, secure and fast 🏔️
With this image you can quickly start a NextJS development environment to build your application. You can then use the buildcommand to build a stand-alone version of your app that can be hosted via Node.
Starting development
docker run --name nextjs \
-p 3000:3000 \
-v ../app:/next/js/app \
-v ../public:/next/js/public \
-d 11notes/nextjs:[tag]
Build project
docker run --name nextjs \
-p 3000:3000 \
-v ../app:/next/js/app \
-v ../public:/next/js/public \
-v ../build:/next/js/build \
-d 11notes/nextjs:[tag] \
build
| Parameter | Value | Description |
|---|---|---|
user | docker | user docker |
uid | 1000 | user id 1000 |
gid | 1000 | group id 1000 |
home | /next | home directory of user docker |
server | http://${IP}:3000 | Certbot endpoint |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | |
DEBUG | Show debug information |
Content type
Image
Digest
sha256:136b4b9b7…
Size
997.6 MB
Last updated
almost 3 years ago
docker pull 11notes/nextjs:14.1.0