92c71fa57b
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- api/worker/ci: python:3.12-slim -> 私有Registry - web/node: node:20 -> 私有Registry - web/nginx: nginx:alpine -> 私有Registry - 彻底摆脱公网镜像依赖,构建更快更稳
8 lines
249 B
Docker
8 lines
249 B
Docker
FROM git.xiaoxiajianji.com/xiaoxia/base/nginx:alpine AS runner
|
|
ARG NGINX_CONF=infra/docker/nginx.conf
|
|
WORKDIR /usr/share/nginx/html
|
|
COPY apps/web/dist ./
|
|
COPY ${NGINX_CONF} /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|