File tree Expand file tree Collapse file tree 1 file changed +32
-3
lines changed
Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change 1- ## Next.js App Router Course - Starter
1+ ## Next Frontend Collection
22
3- This is the starter template for the Next.js App Router Course. It contains the starting code for the dashboard application .
3+ This repository contains a collection of frontends for the KIT Data Manager service portfolio .
44
5- For more information, see the [ course curriculum] ( https://nextjs.org/learn ) on the Next.js Website.
5+ ## Build and run as single Docker container
6+
7+ ``` bash
8+ # 1. Pull the release image
9+ docker pull ghcr.io/kit-data-manager/next-frontend-collection:v0.0.1
10+
11+ # 2. Run container interactively, mounting your environment files
12+ docker run --rm -it \
13+ -v $( pwd) /.env:/app/.env \
14+ -v $( pwd) /next.config.js:/app/next.config.js \
15+ ghcr.io/kit-data-manager/next-frontend-collection:v0.0.1 \
16+ bash -c " npm run build && npm start"
17+ ```
18+
19+ ## Include in docker-compose setup
20+
21+ ``` yaml
22+ version : " 3.8"
23+
24+ services :
25+ nextjs :
26+ image : ghcr.io/kit-data-manager/next-frontend-collection:v0.0.1
27+ ports :
28+ - " 3000:3000"
29+ env_file :
30+ - .env
31+ volumes :
32+ - ./next.config.js:/app/next.config.js
33+ command : bash -c "npm run build && npm start"
34+ ` ` `
You can’t perform that action at this time.
0 commit comments