Builds the Vite app, serves it via nginx in a Docker container, and deploys via SSH/SCP to racknerd1 on push to main. Also syncs the out-of-date package-lock.json so npm ci works in CI/Docker builds. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BbJV5nm8KPVH1oNJYKpnoF
10 lines
167 B
Nginx Configuration File
10 lines
167 B
Nginx Configuration File
server {
|
|
listen 8080;
|
|
server_name _;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
}
|