1756decda8
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>
18 lines
379 B
Docker
18 lines
379 B
Docker
# ---- 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
|