All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5s
对齐 jimeng-clone 的流水线结构(master→prod / dev→dev),适配 AirShelf 纯静态形态: - 电商AI平台/Dockerfile · 纯 nginx,无 build 阶段 - 电商AI平台/nginx.conf · 多入口 try_files,不 fallback 到 index.html - k8s/ · web-deployment + ingress + cert-issuer + redirect middleware - .gitea/workflows/deploy.yaml · build/push 重试 3 次,deploy 重试 5 次,失败上报日志中心 - prod 域名 airshelf.airlabs.art / dev 域名 airshelf.test.airlabs.art Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 lines
310 B
Docker
11 lines
310 B
Docker
# ---- Runtime Stage (no build — pure static HTML/CSS/JS) ----
|
|
FROM docker.m.daocloud.io/nginx:alpine
|
|
|
|
RUN sed -i 's#dl-cdn.alpinelinux.org#mirrors.aliyun.com#g' /etc/apk/repositories
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY . /usr/share/nginx/html/
|
|
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|