Skip to content

Commit d88d2c0

Browse files
committed
Added initial readme
1 parent a7f1cbf commit d88d2c0

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

README.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
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+
```

0 commit comments

Comments
 (0)