Change container name from cnc to cnoc to avoid nginx container conflict
All checks were successful
Cloud Node Container / Build-and-Push (18) (push) Successful in 51s
Cloud Node Container / Build-and-Push (20) (push) Successful in 51s
Cloud Node Container / Build-and-Push (22) (push) Successful in 53s

- Update Gitea pipeline to build cnoc:node18, cnoc:node20, cnoc:node22
- Update local-dev.sh to use cnoc container from registry
- Update documentation references from CNC to CNOC
- Update default app package name to cnoc-default-app
- Avoid conflict with existing nginx container (cnc)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-21 16:17:16 -07:00
parent e9d4d11177
commit f8edb2b407
5 changed files with 9 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Project Overview
Cloud Node Container (CNC) is a Docker-based Node.js hosting environment that supports multiple Node.js versions (18, 20, 22) with Nginx reverse proxy, designed for both local development and production deployment.
Cloud Node Container (CNOC) is a Docker-based Node.js hosting environment that supports multiple Node.js versions (18, 20, 22) with Nginx reverse proxy, designed for both local development and production deployment.
## Common Development Commands
@@ -26,17 +26,17 @@ Cloud Node Container (CNC) is a Docker-based Node.js hosting environment that su
### Building and Testing
```bash
# Build container locally
docker build -t cloud-node-container:latest .
docker build -t cnoc:latest .
# Build with specific Node.js version
docker build --build-arg NODEVER=22 -t cnc:node22 .
docker build --build-arg NODEVER=22 -t cnoc:node22 .
# Run container manually
docker run -d -p 80:80 -p 443:443 \
-e NODEVER=20 -e environment=DEV \
-e uid=$(id -u) -e user=$(whoami) -e domain=localhost \
-v"$(pwd)/user":/home/$(whoami) \
--name test-container cloud-node-container:latest
--name test-container cnoc:latest
```
### Server Deployment