Add Docker + Gitea Actions auto-deploy to /opt/ttvfx_web
Deploy / deploy (push) Failing after 1s

Matches the vfxreview/xbid setup: runner pulls and runs docker compose;
nginx:alpine serves the static export on the npm_default network behind
Nginx Proxy Manager. DEPLOY.md has the one-time SSH setup steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
twotalesanimation
2026-10-05 20:09:15 +02:00
parent 829d415324
commit 1756decda8
6 changed files with 212 additions and 65 deletions
+17
View File
@@ -0,0 +1,17 @@
# ---- Builder: static export -> /app/out ----
FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
COPY . .
RUN npm run build
# ---- Runner: plain nginx serving the static files ----
FROM nginx:1.27-alpine AS runner
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/out /usr/share/nginx/html
EXPOSE 80