Logo
Explore Help
Sign In
Timmy_Foundation/the-nexus
16
1
Fork 2
You've already forked the-nexus
Code Issues 90 Pull Requests Actions 11 Packages Projects Releases Wiki Activity
Files
c4547d2e52f8d1e88b1ed2dd2b6b012171587e7b
the-nexus/Dockerfile

7 lines
197 B
Docker
Raw Normal View History

feat: live staging with auto-refresh on main push (Fixes #33) - index.html: polls Gitea API every 30s for new commits on main; shows countdown banner and auto-reloads when SHA changes - Dockerfile + docker-compose.yml: serve the site via nginx; main on :4200, staging on :4201 - deploy.sh: rebuild and restart a named service - .gitea/workflows/deploy.yml: SSH-deploy to host on every push to main (requires DEPLOY_HOST / DEPLOY_USER / DEPLOY_SSH_KEY repo secrets) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 21:20:58 -04:00
FROM nginx:alpine
COPY . /usr/share/nginx/html
RUN rm -f /usr/share/nginx/html/Dockerfile \
/usr/share/nginx/html/docker-compose.yml \
/usr/share/nginx/html/deploy.sh
EXPOSE 80
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 355ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API