refactor: 移除Docker相关文件和Zeabur部署文档

This commit is contained in:
zhang1106
2026-03-05 11:23:35 +08:00
parent df125181ce
commit 0bb51ec6ac
8 changed files with 0 additions and 316 deletions
-23
View File
@@ -1,23 +0,0 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/templates/default.conf.template
EXPOSE 80
CMD ["sh", "-c", "envsubst '${BACKEND_URL}' < /etc/nginx/templates/default.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]