You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ This repo is a Next.js app used to generate a static site. The final production
3
3
## Development (local only)
4
4
- Install deps: `npm install`
5
5
- Run dev server: `npm run dev` then open http://localhost:3000
6
-
> ⚠️ Te polecenia dotyczą tylko lokalnego developmentu; finalny obraz to tylko statyczne pliki, nie ma tam żadnego node/npn podczas produkcji.
6
+
> ⚠️ These steps are purely for local development; the production image ships only static assets and never contains a Node/npm runtime.
7
7
8
8
## Build (production image)
9
9
-`docker build -t www-website .`
10
10
- Runtime is static files only; mount/serve with RO filesystem (e.g., `docker run --read-only --tmpfs /tmp --tmpfs /config --tmpfs /data -p 3000:3000 www-website`).
11
-
> ⚠️ Finalny kontener musi zawierać wyłącznie katalog `out`/statyczne zasoby i pracować z montowaną przestrzenią tylko do odczytu; nie uruchamiaj tam `npm start` czy podobnych runtime’ów.
11
+
> ⚠️ The final container maps only the generated `out` directory and static assets; keep it read-only and do not run any Node/npm scripts there.
12
12
13
13
## Deployment notes
14
14
- Published image: `ghcr.io/devsh-graphics-programming/www-website` (tags: `latest`, `master`, `sha-*`).
0 commit comments